summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx53/mx53.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-02-25 14:52:07 +0800
committerTerry Lv <r65388@freescale.com>2011-03-02 14:56:26 +0800
commit0e5060fb1663ce2878d3a45b26b0da1280bba346 (patch)
tree6141692b6844574180ae216eac1762e624c81aeb /include/asm-arm/arch-mx53/mx53.h
parentd9e9aa9d87cc4ab111421011845c6d001b1ffabb (diff)
downloadu-boot-imx-0e5060fb1663ce2878d3a45b26b0da1280bba346.zip
u-boot-imx-0e5060fb1663ce2878d3a45b26b0da1280bba346.tar.gz
u-boot-imx-0e5060fb1663ce2878d3a45b26b0da1280bba346.tar.bz2
ENGR00139747: Read fuse to distinguish between mx53 revA and revB
Read fuse to distinguish between mx53 revA and revB. Now SoC efuse is used for board id. Thus we now check fuse value for board rev and id. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/asm-arm/arch-mx53/mx53.h')
-rw-r--r--include/asm-arm/arch-mx53/mx53.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx53/mx53.h b/include/asm-arm/arch-mx53/mx53.h
index 037054d..bb5252c 100644
--- a/include/asm-arm/arch-mx53/mx53.h
+++ b/include/asm-arm/arch-mx53/mx53.h
@@ -347,6 +347,13 @@
#define CHIP_REV_1_0 0x10
#define CHIP_REV_2_0 0x20
+
+#define BOARD_REV_1 0x000
+#define BOARD_REV_2 0x100
+#define BOARD_REV_3 0x200
+#define BOARD_REV_4 0x300
+#define BOARD_REV_5 0x400
+
#define PLATFORM_ICGC 0x14
/* Assuming 24MHz input clock with doubler ON */