diff options
Diffstat (limited to 'include/configs/axs10x.h')
-rw-r--r-- | include/configs/axs10x.h | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/include/configs/axs10x.h b/include/configs/axs10x.h index 66e8cd5e9a..908b018800 100644 --- a/include/configs/axs10x.h +++ b/include/configs/axs10x.h @@ -52,32 +52,6 @@ #define CONFIG_SYS_NS16550_MEM32 /* - * I2C configuration - */ -#define CONFIG_SYS_I2C -#define CONFIG_I2C_ENV_EEPROM_BUS 2 -#define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_SPEED1 100000 -#define CONFIG_SYS_I2C_SPEED2 100000 -#define CONFIG_SYS_I2C_SLAVE 0 -#define CONFIG_SYS_I2C_SLAVE1 0 -#define CONFIG_SYS_I2C_SLAVE2 0 -#define CONFIG_SYS_I2C_BASE 0xE001D000 -#define CONFIG_SYS_I2C_BASE1 0xE001E000 -#define CONFIG_SYS_I2C_BASE2 0xE001F000 -#define CONFIG_SYS_I2C_BUS_MAX 3 -#define IC_CLK 50 - -/* - * EEPROM configuration - */ -#define CONFIG_SYS_I2C_EEPROM_ADDR (0xA8 >> 1) -#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW 1 -#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3 -#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 64 - -/* * Ethernet PHY configuration */ #define CONFIG_MII @@ -96,13 +70,17 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_MAXARGS 16 +#define CONFIG_CMDLINE_EDITING /* * Environment settings */ -#define CONFIG_ENV_IS_NOWHERE -#define CONFIG_ENV_SIZE SZ_512 -#define CONFIG_ENV_OFFSET 0 +#define CONFIG_ENV_IS_IN_FAT +#define CONFIG_ENV_SIZE SZ_16K +#define FAT_ENV_INTERFACE "mmc" +#define FAT_ENV_DEVICE_AND_PART "0:1" +#define FAT_ENV_FILE "uboot.env" +#define CONFIG_FAT_WRITE /* * Environment configuration |