From da54deb1ac8ee65475c7dca556df751b7e31806e Mon Sep 17 00:00:00 2001 From: Beleswar Padhi Date: Tue, 9 Dec 2025 11:20:43 +0530 Subject: configs: am43xx: Migrate to CONFIG_SYS_MEM_TOP_HIDE from CFG_PRAM The TI AM43xx HS boards have been using CFG_PRAM to hide the top 64MB firewalled DRAM memory from U-Boot. However, CFG_PRAM only prevents U-Boot from relocating into that memory, but it is still open for access for any other usage. Therefore, migrate into using CONFIG_SYS_MEM_TOP_HIDE which reduces the ram size itself ensuring that memory is not visible to U-Boot at all (either for reloc, or general usage). Signed-off-by: Beleswar Padhi --- include/configs/am43xx_evm.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 036995cbb48..99d3ecb3fff 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -148,9 +148,4 @@ #define NANDBOOT #endif /* CONFIG_MTD_RAW_NAND */ -#if defined(CONFIG_TI_SECURE_DEVICE) -/* Avoid relocating onto firewalled area at end of DRAM */ -#define CFG_PRAM (64 * 1024) -#endif /* CONFIG_TI_SECURE_DEVICE */ - #endif /* __CONFIG_AM43XX_EVM_H */ -- cgit v1.2.3