[PATCH] asm-generic/u-boot.h: make <asm-generic/u-boot.h> self-contained

Masahiro Yamada masahiroy at kernel.org
Mon Feb 24 18:24:17 CET 2020


This header uses 'phys_addr_t' and 'ulong'. Include the definitions.

Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>
---

 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..d0fd24446f 100644
--- a/include/asm-generic/u-boot.h
+++ b/include/asm-generic/u-boot.h
@@ -15,6 +15,8 @@
 #ifndef __ASM_GENERIC_U_BOOT_H__
 #define __ASM_GENERIC_U_BOOT_H__
 
+#include <linux/types.h>
+
 /*
  * Board information passed to Linux kernel from U-Boot
  *
-- 
2.17.1



More information about the U-Boot mailing list