git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d23dc
)
Correct SPL use of RESV_RAM
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:40:39 +0000
(15:40 -0700)
committer
Tom Rini
<trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000
(07:41 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_RESV_RAM defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
board/traverse/ten64/ten64.c
patch
|
blob
|
history
diff --git
a/board/traverse/ten64/ten64.c
b/board/traverse/ten64/ten64.c
index
13aafb5
..
9e4c84a
100644
(file)
--- a/
board/traverse/ten64/ten64.c
+++ b/
board/traverse/ten64/ten64.c
@@
-211,7
+211,7
@@
int ft_board_setup(void *blob, struct bd_info *bd)
base[i] = gd->bd->bi_dram[i].start;
size[i] = gd->bd->bi_dram[i].size;
/* reduce size if reserved memory is within this bank */
- if (
CONFIG_IS_ENABLED(
RESV_RAM) && RESV_MEM_IN_BANK(i))
+ if (
IS_ENABLED(CONFIG_
RESV_RAM) && RESV_MEM_IN_BANK(i))
size[i] = gd->arch.resv_ram - base[i];
}