diff --git a/projects/Odroid_C2/patches/u-boot/u-boot-0001-set-default-boot-options.patch b/projects/Odroid_C2/patches/u-boot/u-boot-0001-set-default-boot-options.patch index 7bb55817a8..bd0f086692 100644 --- a/projects/Odroid_C2/patches/u-boot/u-boot-0001-set-default-boot-options.patch +++ b/projects/Odroid_C2/patches/u-boot/u-boot-0001-set-default-boot-options.patch @@ -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 +