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:
e390bd5
)
image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM
author
Matt Porter
<mporter@konsulko.com>
Tue, 5 May 2015 19:00:22 +0000
(15:00 -0400)
committer
Tom Rini
<trini@konsulko.com>
Thu, 28 May 2015 12:18:23 +0000
(08:18 -0400)
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS
when CONFIG_ARM is enabled. Make this requirement explicit.
Signed-off-by: Matt Porter <mporter@konsulko.com>
common/image.c
patch
|
blob
|
history
diff --git
a/common/image.c
b/common/image.c
index 0f5274f1be4739379551f8a1691afab4da684d11..f0f01351fe5b378dc8a98235d70a99e9bdd42ced 100644
(file)
--- a/
common/image.c
+++ b/
common/image.c
@@
-462,7
+462,7
@@
phys_size_t getenv_bootm_size(void)
tmp = 0;
-#if defined(CONFIG_ARM)
+#if defined(CONFIG_ARM)
&& defined(CONFIG_NR_DRAM_BANKS)
return gd->bd->bi_dram[0].size - tmp;
#else
return gd->bd->bi_memsize - tmp;