0fb62205 | 16-Mar-2018 |
Christophe Leroy <christophe.leroy@c-s.fr> |
board: MCR3000: Use smaller flash sector for environment
Latest versions of u-boot have increased in size and require more than the 256kb allocated to it.
The MCR3000 board is equipped with an AM29
board: MCR3000: Use smaller flash sector for environment
Latest versions of u-boot have increased in size and require more than the 256kb allocated to it.
The MCR3000 board is equipped with an AM29LV160DB boot flash which is organised as follows: - One 16kb block - Two 8kb block - One 32kb block - Thirty one 64kb blocks
At the time being, u-boot is a single piece occupying the 256 first kbytes, then the environment is stored in the following 64kb block
The environment being quite tiny, we save one 64kb block by embedding the environment in the first 8kb block, hence allowing to increase the monitor size to 320kb.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
show more ...
|
b3ede331 | 16-Mar-2018 |
Christophe Leroy <christophe.leroy@c-s.fr> |
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 CONFI
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>
show more ...
|