summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-02-09 09:30:16 +0800
committerTom Rini <[email protected]>2026-02-17 13:50:22 -0600
commit15398169c4283d50b7c578363baa4e4054e7b4fa (patch)
tree64e2bfc03fbe0eaf0a77c09a0addb3afe557caeb
parentd3b0b3c1184744a3471ca98363b7bc31e7ccb882 (diff)
renesas: common: Include asm-generic/u-boot.h
struct bd_info is defined in asm-generic/u-boot.h. Include it to avoid building error after asm/global_data.h are removed from this file. Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--board/renesas/common/gen3-common.c1
-rw-r--r--board/renesas/common/gen4-common.c1
-rw-r--r--board/renesas/common/gen5-common.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/board/renesas/common/gen3-common.c b/board/renesas/common/gen3-common.c
index 94da00985d3..f89ae81e95e 100644
--- a/board/renesas/common/gen3-common.c
+++ b/board/renesas/common/gen3-common.c
@@ -16,6 +16,7 @@
#include <asm/io.h>
#include <dm/uclass-internal.h>
#include <asm/arch/renesas.h>
+#include <asm-generic/u-boot.h>
#include <linux/libfdt.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/renesas/common/gen4-common.c b/board/renesas/common/gen4-common.c
index 38fba7a5ea7..81c6f6f4c6d 100644
--- a/board/renesas/common/gen4-common.c
+++ b/board/renesas/common/gen4-common.c
@@ -13,6 +13,7 @@
#include <asm/mach-types.h>
#include <asm/processor.h>
#include <asm/system.h>
+#include <asm-generic/u-boot.h>
#include <image.h>
#include <linux/errno.h>
diff --git a/board/renesas/common/gen5-common.c b/board/renesas/common/gen5-common.c
index a05a3e8abef..3b724e59049 100644
--- a/board/renesas/common/gen5-common.c
+++ b/board/renesas/common/gen5-common.c
@@ -10,6 +10,7 @@
#include <asm/mach-types.h>
#include <asm/processor.h>
#include <asm/system.h>
+#include <asm-generic/u-boot.h>
#include <linux/errno.h>
DECLARE_GLOBAL_DATA_PTR;