include: configs: verdin-am62: drop unused sdram address
PATCH 1/1 include: configs: verdin-am62: drop unused sdram address
From: Marcel Ziswiler <[email protected]>
Drop unused macro. This was copied straight from the AM62x EVM but while meant for a second region of DDR this is not even needed for the AM62x EVM configurations and has meanwhile also been dropped there.
Note that on the Verdin AM62, we do auto-detect the amount of SDRAM.
While at it also update the comment noting that CFG_SYS_SDRAM_SIZE is the maximum which is only used for such auto-detection.
---
include/configs/verdin-am62.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/configs/verdin-am62.h +1 -2
@@ -13,8 +13,7 @@/* DDR Configuration */ #define CFG_SYS_SDRAM_BASE 0x80000000 -#define CFG_SYS_SDRAM_BASE1 0x880000000 -#define CFG_SYS_SDRAM_SIZE SZ_2G/* Maximum supported size */ +#define CFG_SYS_SDRAM_SIZE SZ_2G/* Maximum supported size, auto-detection is used */ #define MEM_LAYOUT_ENV_SETTINGS \ "fdt_addr_r=0x90200000\0" \
Signature · 1 line
2.36.1
Hi Marcel,
Thank you for following up this quickly on this.
Quoted 6 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
Drop unused macro. This was copied straight from the AM62x EVM but while meant for a second region of DDR this is not even needed for the AM62x EVM configurations and has meanwhile also been dropped there.
Quoted 6 lines
Note that on the Verdin AM62, we do auto-detect the amount of SDRAM.
While at it also update the comment noting that
CFG_SYS_SDRAM_SIZEis the maximum which is only used for such auto-detection.Signed-off-by Marcel Ziswiler <[email protected]>
Quoted 22 lines
---
include/configs/verdin-am62.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)include/configs/verdin-am62.h +1
-2@@ -13,8 +13,7 @@/* DDR Configuration */ #define CFG_SYS_SDRAM_BASE 0x80000000 -#define CFG_SYS_SDRAM_BASE1 0x880000000 -#define CFG_SYS_SDRAM_SIZE SZ_2G/* Maximum supported size */ +#define CFG_SYS_SDRAM_SIZE SZ_2G/* Maximum supported size, auto-detection is used */ #define MEM_LAYOUT_ENV_SETTINGS \ "fdt_addr_r=0x90200000\0" \Signature · 1 line
2.36.1
Quoted 6 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
Drop unused macro. This was copied straight from the AM62x EVM but while meant for a second region of DDR this is not even needed for the AM62x EVM configurations and has meanwhile also been dropped there.
Quoted 7 lines
Note that on the Verdin AM62, we do auto-detect the amount of SDRAM.
While at it also update the comment noting that
CFG_SYS_SDRAM_SIZEis the maximum which is only used for such auto-detection.Signed-off-by Marcel Ziswiler <[email protected]>Reviewed-by Mattijs Korpershoek <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom