diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-03-16 17:20:51 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-06 16:30:37 -0400 |
commit | b3ede3317038abdd75c88f20d9b9685ab062b48a (patch) | |
tree | 41a4ba7b2c7532baecab08a9117731ca1297931d /board | |
parent | 3949d2a7169cc4abe94bf9bf144a6af180c13dd8 (diff) | |
download | u-boot-b3ede3317038abdd75c88f20d9b9685ab062b48a.zip u-boot-b3ede3317038abdd75c88f20d9b9685ab062b48a.tar.gz u-boot-b3ede3317038abdd75c88f20d9b9685ab062b48a.tar.bz2 |
board: MCR3000: cleanup config
Some config is redundant with Kconfig. Fix it.
Also remove unused configs
Move SDRAM_MAX_SIZE in the only place it is used
include/environment.h already defines CONFIG_ENV_SIZE
from CONFIG_ENV_SECT_SIZE and defines CONFIG_ENV_ADDR as
(CONFIG_SYS_FLASH_BASE + CONFIG_ENV_OFFSET)
remove BOOTARGS as bootargs is set by the different boot commands
Fix CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE to be in
line with CPM DPRAM organisation
Remove CONFIG_SYS_GBL_DATA_SIZE, CONFIG_SYS_GBL_DATA_OFFSET and
CONFIG_SYS_INIT_SP_OFFSET which are unused
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Diffstat (limited to 'board')
-rw-r--r-- | board/cssi/MCR3000/MCR3000.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/cssi/MCR3000/MCR3000.c b/board/cssi/MCR3000/MCR3000.c index c928881..6939a2c 100644 --- a/board/cssi/MCR3000/MCR3000.c +++ b/board/cssi/MCR3000/MCR3000.c @@ -16,6 +16,8 @@ DECLARE_GLOBAL_DATA_PTR; +#define SDRAM_MAX_SIZE (32 * 1024 * 1024) + static const uint cs1_dram_table_66[] = { /* DRAM - single read. (offset 0 in upm RAM) */ 0x0F3DFC04, 0x0FEFBC04, 0x00BE7804, 0x0FFDF400, |