Odroid_C2/u-boot: adjust u-boot patch

This commit is contained in:
Lukas Rusak 2016-05-05 14:02:52 -07:00
parent cdcc907dff
commit b1486f8e3d

View File

@ -1,7 +1,7 @@
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-02 11:46:12.581483463 -0700
@@ -79,36 +79,24 @@
+++ 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 \
@ -22,35 +22,3 @@ 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
size to save space */
#define CONFIG_FIT 1
#define CONFIG_OF_LIBFDT 1
-#define CONFIG_ANDROID_BOOT_IMAGE 1
-#define CONFIG_ANDROID_IMG 1
+//#define CONFIG_ANDROID_BOOT_IMAGE 1
+//#define CONFIG_ANDROID_IMG 1
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size*/
/* Support commands */
-#define CONFIG_CMD_SAVEENV 1
+//#define CONFIG_CMD_SAVEENV 1
#define CONFIG_CMD_CACHE 1
#define CONFIG_CMD_BOOTI 1
#define CONFIG_CMD_EFUSE 1
@@ -176,8 +164,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