From 4ca281a56c35fb8c1cce934203821821ea1ed01c Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 25 Feb 2020 02:24:17 +0900 Subject: [PATCH] asm-generic/u-boot.h: make self-contained This header uses 'phys_addr_t' and 'ulong'. Include the definitions. Signed-off-by: Masahiro Yamada [trini: Move include to below __ASSEMBLY__ test] Signed-off-by: Tom Rini --- include/asm-generic/u-boot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/asm-generic/u-boot.h b/include/asm-generic/u-boot.h index eee84f49bb..cc94d39069 100644 --- a/include/asm-generic/u-boot.h +++ b/include/asm-generic/u-boot.h @@ -23,6 +23,8 @@ #ifndef __ASSEMBLY__ +#include + typedef struct bd_info { unsigned long bi_memstart; /* start of DRAM memory */ phys_size_t bi_memsize; /* size of DRAM memory in bytes */ -- 2.39.5