]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
asm-generic/u-boot.h: make <asm-generic/u-boot.h> self-contained
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Feb 2020 17:24:17 +0000 (02:24 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 16 Mar 2020 20:42:33 +0000 (16:42 -0400)
This header uses 'phys_addr_t' and 'ulong'. Include the definitions.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
[trini: Move include to below __ASSEMBLY__ test]
Signed-off-by: Tom Rini <trini@konsulko.com>
include/asm-generic/u-boot.h

index eee84f49bb17a98caa12358915e9f4f68d98c6bd..cc94d39069e11b4f9d3fe06eed68457191256335 100644 (file)
@@ -23,6 +23,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
+
 typedef struct bd_info {
        unsigned long   bi_memstart;    /* start of DRAM memory */
        phys_size_t     bi_memsize;     /* size  of DRAM memory in bytes */