Odroid_C2/u-boot: really fix the u-boot patch this time

This commit is contained in:
Lukas Rusak 2016-05-05 23:54:45 -07:00
parent ab28a93c88
commit 5f19dfefae

View File

@ -1,14 +1,10 @@
diff -Naur a/include/configs/odroidc2.h b/include/configs/odroidc2.h
--- a/include/configs/odroidc2.h 2016-03-30 00:48:47.000000000 -0700
+++ b/include/configs/odroidc2.h 2016-05-05 13:44:39.474225723 -0700
@@ -79,19 +79,7 @@
#define CONFIG_SYS_MAXARGS 64
#define CONFIG_EXTRA_ENV_SETTINGS \
- "boardname=ODROIDC2\0" \
- "loadaddr=0x20000000\0" \
- "dtbaddr=0x1000000\0" \
- "fdt_high=0x20000000\0" \
+++ b/include/configs/odroidc2.h 2016-05-05 23:41:45.354660099 -0700
@@ -83,20 +83,12 @@
"loadaddr=0x20000000\0" \
"dtbaddr=0x1000000\0" \
"fdt_high=0x20000000\0" \
- "hdmimode=720p60hz\0" \
- "cecconfig=cec0xf\0" \
- "bootargs=root=/dev/mmcblk0p2 rw init=/init rootwait " \
@ -22,3 +18,20 @@ diff -Naur a/include/configs/odroidc2.h b/include/configs/odroidc2.h
#define CONFIG_PREBOOT
#define CONFIG_BOOTCOMMAND
-//#define CONFIG_ENV_IS_NOWHERE 1
+#define CONFIG_ENV_IS_NOWHERE 1
#define CONFIG_ENV_SIZE (32 * SZ_1K) /* 32kB */
#define CONFIG_ENV_OFFSET (720 * SZ_1K) /* FIXME: should be
close to U-boot image
@@ -176,8 +168,8 @@
#define CONFIG_LZO 1
/* storage: emmc/nand/sd */
-#define CONFIG_ENV_OVERWRITE
-#define CONFIG_ENV_IS_IN_MMC 1
+//#define CONFIG_ENV_OVERWRITE
+#define CONFIG_ENV_IS_IN_MMC 0
#define CONFIG_SYS_MMC_ENV_DEV 0
#define CONFIG_AML_SD_EMMC 1