-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: remove MB and GB definition in utilities.h
The introduction of MB and GB macros introduces warnings in Zephyr build. Indeed they are already defined in zephyr/include/zephyr/sys/util.h. Remove them and put them back in lib/system/generic/xlnx_common/zynqmp_aarch64/sys.c. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3098875
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arnopo can we have this macros with guards in lib/utilities.h ?
On Xilinx Platforms they will be used across multiple OS demos such as baremetal, FreeRTOS etc.
If we define with guards, then it shouldn't produce any warnings right?