diff options
author | Tom Rini <trini@konsulko.com> | 2022-07-23 13:04:56 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-04 16:18:47 -0400 |
commit | 9a56ab96aa3206001c89151eb2755479f708f084 (patch) | |
tree | f34f024e11ae18f3c902736f83094ca44789426e /include/configs/ids8313.h | |
parent | b72713dc0bb76a7629dab3746694633089e51339 (diff) | |
download | u-boot-9a56ab96aa3206001c89151eb2755479f708f084.zip u-boot-9a56ab96aa3206001c89151eb2755479f708f084.tar.gz u-boot-9a56ab96aa3206001c89151eb2755479f708f084.tar.bz2 |
powerpc: Move CONFIG_SYS_DDR_SIZE to CONFIG_SYS_SDRAM_SIZE
We have a number of CONFIG_SYS_xxx_SIZE options to describe the amount
main memory available. Rework CONFIG_SYS_DDR_SIZE, which described a
size in number of MiB to use CONFIG_SYS_SDRAM_SIZE which is most often
used as a number of bytes. Use shifts of this option when required.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/ids8313.h')
-rw-r--r-- | include/configs/ids8313.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ids8313.h b/include/configs/ids8313.h index a8bb209..26f0741 100644 --- a/include/configs/ids8313.h +++ b/include/configs/ids8313.h @@ -41,7 +41,7 @@ * Manually set up DDR parameters, * as this board has not the SPD connected to I2C. */ -#define CONFIG_SYS_DDR_SIZE 256 /* MB */ +#define CONFIG_SYS_SDRAM_SIZE 0x10000000 /* 256 MiB */ #define CONFIG_SYS_DDR_CONFIG (CSCONFIG_EN |\ 0x00010000 |\ CSCONFIG_ROW_BIT_13 |\ |