diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-12-13 11:26:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-14 08:36:36 +0100 |
commit | 25fcfb2efa87a346e2ab83638a7985b516a7d7a2 (patch) | |
tree | 7a59f2f01a4ec6b70c865beb1b3a13b925ef3808 /arch/arm/mach-mxs | |
parent | 0ccb9aebcd98d99fdc22d938240c65c7466e8146 (diff) | |
download | barebox-25fcfb2efa87a346e2ab83638a7985b516a7d7a2.tar.gz barebox-25fcfb2efa87a346e2ab83638a7985b516a7d7a2.tar.xz |
ARM: cfa10036: Add the AT24HC02 I2C EEPROM
This EEPROM is found on the expansion boards available for the 10036
module. Since we won't need to do anything fancy except reading/writing
from it, use bitbanging to communicate with it.
This EEPROM will hold mostly the board_id so that we can determine if
there is an expansion board plugged in and what expansion board it is.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig index 853d81a0c4..d1bf8fcbe6 100644 --- a/arch/arm/mach-mxs/Kconfig +++ b/arch/arm/mach-mxs/Kconfig @@ -77,6 +77,9 @@ config MACH_MX28EVK config MACH_CFA10036 bool "cfa-10036" select HAVE_DEFAULT_ENVIRONMENT_NEW + select MXS_OCOTP + select I2C_GPIO + select EEPROM_AT24 help Say Y here if you are using the Crystalfontz CFA-10036 module |