summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-14 16:46:01 -0600
committerTom Rini <trini@konsulko.com>2025-05-29 08:29:16 -0600
commit55717ca66f10bd8c1c05cd8053fee233d869e7e5 (patch)
tree2371ab5452a777972e44acb11d079666aaf37e25
parent64307118499db0be83db29cfcbd8860db1e44e37 (diff)
cmd/mem.c, test/cmd/mem_copy.c: Add <compiler.h>
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>
-rw-r--r--cmd/mem.c1
-rw-r--r--test/cmd/mem_copy.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/mem.c b/cmd/mem.c
index 9e716776393..e5b9cb29349 100644
--- 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
diff --git a/test/cmd/mem_copy.c b/test/cmd/mem_copy.c
index 3e904fc4e4b..8e551f18a85 100644
--- a/test/cmd/mem_copy.c
+++ b/test/cmd/mem_copy.c
@@ -4,6 +4,7 @@
*/
#include <command.h>
+#include <compiler.h>
#include <console.h>
#include <mapmem.h>
#include <dm/test.h>