SHA256
1
0
forked from pool/u-boot
u-boot/fix_snow_extra_env_settings.patch

24 lines
810 B
Diff

--- include/configs/exynos5-dt-common.h.orig 2014-10-15 11:59:32.536100325 +0200
+++ include/configs/exynos5-dt-common.h 2014-10-15 12:00:17.008098751 +0200
@@ -30,6 +30,19 @@
"stderr=serial,lcd\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
- EXYNOS_DEVICE_SETTINGS
+ EXYNOS_DEVICE_SETTINGS \
+ "loadaddr=0x40007000\0" \
+ "rdaddr=0x4f000000\0" \
+ "kerneladdr=0x40007000\0" \
+ "ramdiskaddr=0x4f000000\0" \
+ "console=tty\0" \
+ "mmcdev=1:2\0" \
+ "bootenv=uEnv.txt\0" \
+ "loadbootenv=ext2load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
+ "importbootenv=echo Importing environment from mmc ...; " \
+ "env import -t $loadaddr $filesize\0" \
+ "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
+ "source ${loadaddr}\0"
#endif