]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cmd/mem.c, test/cmd/mem_copy.c: Add <compiler.h>
authorTom Rini <trini@konsulko.com>
Wed, 14 May 2025 22:46:01 +0000 (16:46 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:29:16 +0000 (08:29 -0600)
These files require <compiler.h> in order to have MEM_SUPPORT_64BIT_DATA
be defined but currently rely on a long indirect include path to get it.
Add this directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/mem.c
test/cmd/mem_copy.c

index 9e716776393ab1af2ac1d9709dcf1bd882d5aeb8..e5b9cb2934919801cfa7a7dd781ced771593e952 100644 (file)
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -14,6 +14,7 @@
 #include <bootretry.h>
 #include <cli.h>
 #include <command.h>
+#include <compiler.h>
 #include <console.h>
 #include <display_options.h>
 #ifdef CONFIG_MTD_NOR_FLASH
index 3e904fc4e4ba4598512ebabd9069d0fe47d03f04..8e551f18a852f996c08045d864c5c4e148f5cb79 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <command.h>
+#include <compiler.h>
 #include <console.h>
 #include <mapmem.h>
 #include <dm/test.h>