1
0
Fork 0

put the environment in a proper partition so it doesn't clobber the disk

optimizations
Martin T. H. Sandsmark 2017-05-26 05:20:10 +02:00
parent 0d0a7a9d21
commit 03f67bd151
1 changed files with 5 additions and 2 deletions

View File

@ -126,8 +126,11 @@
/* Environment organization */
#define CONFIG_ENV_SIZE SZ_8K
#define CONFIG_ENV_OFFSET (8 * SZ_64K)
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_ENV_IS_IN_FAT
#define FAT_ENV_INTERFACE "mmc"
#define FAT_ENV_DEVICE_AND_PART "1:1"
#define CONFIG_FAT_WRITE
#define FAT_ENV_FILE "uboot.env"
#ifdef CONFIG_CMD_SF
#define CONFIG_MXC_SPI