diff options
| author | Ye Li <[email protected]> | 2026-03-02 13:20:03 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-03-16 18:44:00 -0300 |
| commit | ea8b1afcd5c82f7666bed239be3eebb451b02769 (patch) | |
| tree | ef8d4f07f4abc42aeeb1bbf04ff91cf4e16b69e0 | |
| parent | e1cc7117b6302464977fffca3e2c05bf8f3f6c77 (diff) | |
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 <[email protected]>
Signed-off-by: Alice Guo <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
| -rw-r--r-- | board/nxp/imx94_evk/imx94_evk.c | 7 | ||||
| -rw-r--r-- | board/nxp/imx95_evk/imx95_evk.c | 7 |
2 files changed, 0 insertions, 14 deletions
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; -} |
