diff options
author | Ćukasz Majewski <l.majewski@samsung.com> | 2014-06-09 11:36:07 +0200 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-06-18 19:21:34 +0900 |
commit | 34ecd69445e362064618e64f43a3066e679dda7a (patch) | |
tree | f4196159f2c0a6231e502a5ec94629373a9e420f /include/configs/s5p_goni.h | |
parent | 0fabb6aff1ab2496f6a84e068a30583eecad7a73 (diff) | |
download | u-boot-imx-34ecd69445e362064618e64f43a3066e679dda7a.zip u-boot-imx-34ecd69445e362064618e64f43a3066e679dda7a.tar.gz u-boot-imx-34ecd69445e362064618e64f43a3066e679dda7a.tar.bz2 |
FIX: config: goni: Change goni configuration to store envs at eMMC
Up till now goni's configuration has been stored at OneNAND. Since u-boot
itself is now stored at eMMC it is more handy to store envs there as well.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/s5p_goni.h')
-rw-r--r-- | include/configs/s5p_goni.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index c92e94c..6e795bf 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -228,9 +228,12 @@ #define CONFIG_SYS_MONITOR_LEN (256 << 10) /* 256 KiB */ /* FLASH and environment organization */ -#define CONFIG_ENV_IS_IN_ONENAND 1 -#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB, 0x40000 */ -#define CONFIG_ENV_ADDR (1 << 20) /* 1 MB, 0x100000 */ +#define CONFIG_MMC_DEFAULT_DEV 0 +#define CONFIG_ENV_IS_IN_MMC +#define CONFIG_SYS_MMC_ENV_DEV CONFIG_MMC_DEFAULT_DEV +#define CONFIG_ENV_SIZE 4096 +#define CONFIG_ENV_OFFSET ((32 - 4) << 10) /* 32KiB - 4KiB */ +#define CONFIG_ENV_OVERWRITE #define CONFIG_USE_ONENAND_BOARD_INIT #define CONFIG_SAMSUNG_ONENAND 1 |