projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38922b1
)
board: ti: am64x: Init DRAM size in R5/A53 SPL
author
Vignesh Raghavendra
<vigneshr@ti.com>
Fri, 24 Dec 2021 07:25:31 +0000
(12:55 +0530)
committer
Tom Rini
<trini@konsulko.com>
Sat, 15 Jan 2022 15:38:26 +0000
(10:38 -0500)
Call dram_init_banksize() from spl_board_init() otherwise TFTP download
fails due to lmb_get_free_size() not able to find unreserved region due
to lack of DRAM size info. Required to support Ethernet boot on AM64x.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
board/ti/am64x/evm.c
patch
|
blob
|
history
diff --git
a/board/ti/am64x/evm.c
b/board/ti/am64x/evm.c
index
1a9f69c
..
8373c76
100644
(file)
--- a/
board/ti/am64x/evm.c
+++ b/
board/ti/am64x/evm.c
@@
-196,5
+196,8
@@
void spl_board_init(void)
val = readl(CTRLMMR_USB0_PHY_CTRL);
val &= ~(CORE_VOLTAGE);
writel(val, CTRLMMR_USB0_PHY_CTRL);
+
+ /* Init DRAM size for R5/A53 SPL */
+ dram_init_banksize();
}
#endif