diff options
| author | Enrico Leto <[email protected]> | 2024-11-23 17:53:00 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-11-25 23:07:37 -0300 |
| commit | 0cc0f68b7e6ce3865ba2708ffefc44c5117bf676 (patch) | |
| tree | e006e23abfd4d459831f78388d8c0712b00cecbe /include | |
| parent | a0aff2a6f5f41d3583396b425fef7d379d0656a8 (diff) | |
siemens: capricorn: get ram size from system controller
Get the memory region information from system controller to reduce the
number of platform specific headers. We were aligned on NXP mek board
implementation. This need at least 1 header per memory configuration.
Signed-off-by: Enrico Leto <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/capricorn-common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/capricorn-common.h b/include/configs/capricorn-common.h index 1f61b2b6af6..4d95f3fd79b 100644 --- a/include/configs/capricorn-common.h +++ b/include/configs/capricorn-common.h @@ -95,7 +95,9 @@ #define CFG_SYS_SDRAM_BASE 0x80000000 #define PHYS_SDRAM_1 0x80000000 #define PHYS_SDRAM_2 0x880000000 -/* DDR3 board total DDR is 1 GB */ +/* Set default values to the smallest DDR we have in capricorn modules + * Use it in case the system controller would return an error + */ #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1 GB */ #define PHYS_SDRAM_2_SIZE 0x00000000 /* 0 GB */ |
