summaryrefslogtreecommitdiff
path: root/include/asm-generic/u-boot.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-02-25 02:24:17 +0900
committerTom Rini <trini@konsulko.com>2020-03-16 16:42:33 -0400
commit4ca281a56c35fb8c1cce934203821821ea1ed01c (patch)
tree2ffd2d29f27e45511ce8eb2480b0161590860b68 /include/asm-generic/u-boot.h
parentb36992fb6b6d2d53a2cf1a5158ad6ed1335b0de9 (diff)
downloadu-boot-4ca281a56c35fb8c1cce934203821821ea1ed01c.tar.gz
u-boot-4ca281a56c35fb8c1cce934203821821ea1ed01c.tar.bz2
u-boot-4ca281a56c35fb8c1cce934203821821ea1ed01c.zip
asm-generic/u-boot.h: make <asm-generic/u-boot.h> self-contained
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>
Diffstat (limited to 'include/asm-generic/u-boot.h')
-rw-r--r--include/asm-generic/u-boot.h2
1 files changed, 2 insertions, 0 deletions
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 <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 */