ARM: uniphier: default to environment in eMMC
[oweals/u-boot.git] / include / configs / uniphier.h
index 1b28cdc1a984e4da65ac8ad30e9ef55be604029f..b1c8ccb7b92b7e0f379b2ef0417e5d0aa9093e9a 100644 (file)
 
 #define CONFIG_CONS_INDEX              1
 
-/*
- * For NAND booting the environment is embedded in the U-Boot image. Please take
- * look at the file board/amcc/canyonlands/u-boot-nand.lds for details.
- */
+/* #define CONFIG_ENV_IS_NOWHERE */
 /* #define CONFIG_ENV_IS_IN_NAND */
-#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_ENV_OFFSET                      0x80000
 #define CONFIG_ENV_SIZE                                0x2000
-#define CONFIG_ENV_OFFSET                      0x0
 /* #define CONFIG_ENV_OFFSET_REDUND    (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) */
 
+#define CONFIG_SYS_MMC_ENV_DEV         0
+#define CONFIG_SYS_MMC_ENV_PART                1
+
 /* Time clock 1MHz */
 #define CONFIG_SYS_TIMER_RATE                  1000000