mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
arm: cm-t335: add support for eeprom layout comands
Add support for EEPROM and EEPROM layout commands for CM-T335. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
This commit is contained in:
parent
1261653125
commit
0e656b825e
1 changed files with 11 additions and 0 deletions
|
@ -165,6 +165,17 @@
|
|||
#define STATUS_LED_PERIOD (CONFIG_SYS_HZ / 2)
|
||||
#define STATUS_LED_BOOT 0
|
||||
|
||||
/* EEPROM */
|
||||
#define CONFIG_CMD_EEPROM
|
||||
#define CONFIG_ENV_EEPROM_IS_ON_I2C
|
||||
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
|
||||
#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4
|
||||
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
|
||||
#define CONFIG_SYS_EEPROM_SIZE 256
|
||||
|
||||
#define CONFIG_CMD_EEPROM_LAYOUT
|
||||
#define CONFIG_EEPROM_LAYOUT_HELP_STRING "v2, v3"
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
/*
|
||||
* Enable PCA9555 at I2C0-0x26.
|
||||
|
|
Loading…
Reference in a new issue