projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36992f
)
asm-generic/u-boot.h: make <asm-generic/u-boot.h> self-contained
author
Masahiro Yamada
<masahiroy@kernel.org>
Mon, 24 Feb 2020 17:24:17 +0000
(
02:24
+0900)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/include/asm-generic/u-boot.h
b/include/asm-generic/u-boot.h
index eee84f49bb17a98caa12358915e9f4f68d98c6bd..cc94d39069e11b4f9d3fe06eed68457191256335 100644
(file)
--- 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 */