projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb447e
)
arm: cm-t43: add support for eeprom layout comands
author
Nikita Kiryanov
<
[email protected]
>
Sat, 16 Apr 2016 14:55:10 +0000
(17:55 +0300)
committer
Tom Rini
<
[email protected]
>
Fri, 20 May 2016 21:02:09 +0000
(17:02 -0400)
Add support for EEPROM and EEPROM layout commands for CM-T43.
Cc: Igor Grinberg <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Signed-off-by: Nikita Kiryanov <
[email protected]
>
include/configs/cm_t43.h
patch
|
blob
|
history
diff --git
a/include/configs/cm_t43.h
b/include/configs/cm_t43.h
index ee818ede267eedab950066c5753a0536ad78fe9d..c2dbd31803a20e427d8b283d2eb17c584f5b4e7a 100644
(file)
--- a/
include/configs/cm_t43.h
+++ b/
include/configs/cm_t43.h
@@
-170,4
+170,15
@@
#define CONFIG_SPL_I2C_SUPPORT
#define CONFIG_SPL_POWER_SUPPORT
+/* 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"
+
#endif /* __CONFIG_CM_T43_H */