diff options
author | Hyungwon Hwang <human.hwang@samsung.com> | 2014-12-12 14:45:44 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-12-22 20:37:10 +0900 |
commit | 43900da88638b98344fcbe9f5695e60df6dcb17f (patch) | |
tree | 4ac94825875c662a5dc9dd6e04df706f7f2dda36 /include/configs/smdk5420.h | |
parent | d8bec60c1b0de7770f9b56ad092ab9be801d99af (diff) | |
download | u-boot-imx-43900da88638b98344fcbe9f5695e60df6dcb17f.zip u-boot-imx-43900da88638b98344fcbe9f5695e60df6dcb17f.tar.gz u-boot-imx-43900da88638b98344fcbe9f5695e60df6dcb17f.tar.bz2 |
config: exynos5420: move non common configs to specific board files
The media for boot and environment is a board-specific feature, not a
processor-specific. This is same to console port number and some
other addresses. This patch moves the that kinds of configs to each
board-specific files from the common config file for Exynos5420.
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/smdk5420.h')
-rw-r--r-- | include/configs/smdk5420.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h index 5c9a3c0..6b45948 100644 --- a/include/configs/smdk5420.h +++ b/include/configs/smdk5420.h @@ -9,15 +9,26 @@ #ifndef __CONFIG_SMDK5420_H #define __CONFIG_SMDK5420_H +#define CONFIG_ENV_IS_IN_SPI_FLASH +#define CONFIG_SPI_FLASH +#define CONFIG_ENV_SPI_BASE 0x12D30000 +#define FLASH_SIZE (0x4 << 20) +#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE) +#define CONFIG_SPI_BOOTING + #include <configs/exynos5420-common.h> #define CONFIG_BOARD_COMMON #define CONFIG_SMDK5420 /* which is in a SMDK5420 */ +#define CONFIG_SYS_SDRAM_BASE 0x20000000 +#define CONFIG_SYS_TEXT_BASE 0x23E00000 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800) /* select serial console configuration */ #define CONFIG_SERIAL3 /* use SERIAL 3 */ +#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" #define CONFIG_SYS_PROMPT "SMDK5420 # " #define CONFIG_IDENT_STRING " for SMDK5420" |