From: Ye Li Date: Mon, 2 Mar 2026 05:20:03 +0000 (+0800) Subject: imx95/imx94: Remove board_phys_sdram_size from each board X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea8b1afcd5c82f7666bed239be3eebb451b02769;p=thirdparty%2Fu-boot.git imx95/imx94: Remove board_phys_sdram_size from each board Change to use default board_phys_sdram_size implementation in soc.c, which will call SM API to get DDR size. If board has special implementation for DDR size, then board_phys_sdram_size could be implemented in board file to override the default one in soc.c. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- diff --git a/board/nxp/imx94_evk/imx94_evk.c b/board/nxp/imx94_evk/imx94_evk.c index 2aeb21c1de7..4731b79b55d 100644 --- a/board/nxp/imx94_evk/imx94_evk.c +++ b/board/nxp/imx94_evk/imx94_evk.c @@ -26,10 +26,3 @@ int board_late_init(void) return 0; } - -int board_phys_sdram_size(phys_size_t *size) -{ - *size = PHYS_SDRAM_SIZE + PHYS_SDRAM_2_SIZE; - - return 0; -} diff --git a/board/nxp/imx95_evk/imx95_evk.c b/board/nxp/imx95_evk/imx95_evk.c index 620a69b53e5..99a37e0593f 100644 --- a/board/nxp/imx95_evk/imx95_evk.c +++ b/board/nxp/imx95_evk/imx95_evk.c @@ -14,10 +14,3 @@ int board_late_init(void) return 0; } - -int board_phys_sdram_size(phys_size_t *size) -{ - *size = PHYS_SDRAM_SIZE + PHYS_SDRAM_2_SIZE; - - return 0; -}