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:
8af5734
)
arm: cm-fx6: add support for eeprom layout comands
author
Nikita Kiryanov
<
[email protected]
>
Sat, 16 Apr 2016 14:55:05 +0000
(17:55 +0300)
committer
Tom Rini
<
[email protected]
>
Fri, 20 May 2016 21:02:07 +0000
(17:02 -0400)
Add support for EEPROM and EEPROM layout commands for CM-FX6.
Cc: Igor Grinberg <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Signed-off-by: Nikita Kiryanov <
[email protected]
>
include/configs/cm_fx6.h
patch
|
blob
|
history
diff --git
a/include/configs/cm_fx6.h
b/include/configs/cm_fx6.h
index 9a125529c6de370bd9b9c077c5b849dde9cccae9..1f20ec3c6d2b555e1b748a959585e4d98e0bfb14 100644
(file)
--- a/
include/configs/cm_fx6.h
+++ b/
include/configs/cm_fx6.h
@@
-255,4
+255,15
@@
#define CONFIG_VIDEO_LOGO
#define CONFIG_VIDEO_BMP_LOGO
+/* 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_FX6_H */