diff options
author | Steve Sakoman <steve@sakoman.com> | 2010-09-20 08:05:14 -0700 |
---|---|---|
committer | Sandeep Paulraj <s-paulraj@ti.com> | 2010-11-04 15:27:06 -0400 |
commit | d64b5b89159dad129e4e07d4267c549b6d473386 (patch) | |
tree | 9c1f126373de1a474d772094f9e46b7ec7a8e46e /board/overo/overo.h | |
parent | 8345fb242c952b2bb993ac43ecc53eac0108f80c (diff) | |
download | u-boot-d64b5b89159dad129e4e07d4267c549b6d473386.tar.gz |
ARMV7: OMAP3: Add expansion board detection for Overo
Overo expansion boards contain an i2c eeprom to identify themselves.
This patch adds code to read and parse the eeprom contents. It prints
the expansion board name and revision and modifies environment variables
as appropriate.
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/overo/overo.h')
-rw-r--r-- | board/overo/overo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/overo/overo.h b/board/overo/overo.h index 33a92e4e12..68e1243e9c 100644 --- a/board/overo/overo.h +++ b/board/overo/overo.h @@ -419,4 +419,8 @@ const omap3_sysinfo sysinfo = { MUX_VAL(CP(MMC1_DAT6), (IEN | PTU | EN | M4)) /*GPIO_128*/\ MUX_VAL(CP(MMC1_DAT7), (IEN | PTU | EN | M4)) /*GPIO_129*/ +#define MUX_USRP_E() \ + MUX_VAL(CP(MCSPI1_SOMI), (IEN | PTD | DIS | M4)) /*GPIO_173 */\ + MUX_VAL(CP(MCSPI1_CS1), (IDIS | PTD | EN | M4)) /*GPIO_175 */\ + #endif |