From: Peng Fan <[email protected]> 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]> --- board/renesas/common/gen3-common.c | 1 + board/renesas/common/gen4-common.c | 1 + board/renesas/common/gen5-common.c | 1 + 3 files changed, 3 insertions(+) diff --git a/board/renesas/common/gen3-common.c b/board/renesas/common/gen3-common.c index 94da00985d34049222a2c5aaec650d03dc2aec85..f89ae81e95ec551b8b254fd0fee0b9839f798b85 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 38fba7a5ea77778383d29f2403a585bdb54994e9..81c6f6f4c6ddbf78f50657bef9a31a4f3e8e6099 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 a05a3e8abef46f55ae649d11741ad45797090728..3b724e59049c0b451b6e346a6ecb9846c3226e97 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; -- 2.37.1

