summaryrefslogtreecommitdiff
path: root/board/ti/beagle/beagle.h
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-08-12 15:17:37 -0700
committerSandeep Paulraj <s-paulraj@ti.com>2010-09-08 14:50:42 -0400
commit06b95bd50d5a3a09c21271fcf54d2cb849cc453c (patch)
treea8c2b6d15c014b363a3282c961353200fd6288cd /board/ti/beagle/beagle.h
parentc2d5b341206f44c13f4de3c4bb80916d085dfdea (diff)
downloadu-boot-imx-06b95bd50d5a3a09c21271fcf54d2cb849cc453c.zip
u-boot-imx-06b95bd50d5a3a09c21271fcf54d2cb849cc453c.tar.gz
u-boot-imx-06b95bd50d5a3a09c21271fcf54d2cb849cc453c.tar.bz2
ARMV7: OMAP: Add detection and support for Beagle C4 revision
This patch enhances the revision detection function and adds support for the C4 revision. The board revision is printed and approriate revision specific setup is done automatically. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ti/beagle/beagle.h')
-rw-r--r--board/ti/beagle/beagle.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/ti/beagle/beagle.h b/board/ti/beagle/beagle.h
index 7fe6275..e5f380c 100644
--- a/board/ti/beagle/beagle.h
+++ b/board/ti/beagle/beagle.h
@@ -33,7 +33,10 @@ const omap3_sysinfo sysinfo = {
#endif
};
-#define BOARD_REVISION_MASK (0x1 << 11)
+/* BeagleBoard revisions */
+#define REVISION_AXBX 0x7
+#define REVISION_CX 0x6
+#define REVISION_C4 0x5
/*
* IEN - Input Enable
@@ -264,7 +267,7 @@ const omap3_sysinfo sysinfo = {
MUX_VAL(CP(HDQ_SIO), (IDIS | PTU | EN | M4)) /*GPIO_170*/\
MUX_VAL(CP(MCSPI1_CLK), (IEN | PTU | EN | M4)) /*GPIO_171*/\
MUX_VAL(CP(MCSPI1_SIMO), (IEN | PTU | EN | M4)) /*GPIO_172*/\
- MUX_VAL(CP(MCSPI1_SOMI), (IEN | PTD | DIS | M0)) /*McSPI1_SOMI*/\
+ MUX_VAL(CP(MCSPI1_SOMI), (IEN | PTU | EN | M4)) /*GPIO_173*/\
MUX_VAL(CP(MCSPI1_CS0), (IEN | PTD | EN | M0)) /*McSPI1_CS0*/\
MUX_VAL(CP(MCSPI1_CS1), (IDIS | PTD | EN | M0)) /*McSPI1_CS1*/\
MUX_VAL(CP(MCSPI1_CS2), (IDIS | PTD | DIS | M4)) /*GPIO_176*/\