summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorTerry <r65388@freescale.com>2011-03-18 13:45:20 +0800
committerTerry Lv <r65388@freescale.com>2011-03-20 14:11:07 +0800
commit32ab6b2785b763588644e766235e2ed21a853c2a (patch)
tree85e66dacf9720da0fb2a3cac0c65a2f224cb16f7 /board/freescale
parentf48c8a0e5013b0c9981fd4a26037e4929a46cbc6 (diff)
downloadu-boot-imx-32ab6b2785b763588644e766235e2ed21a853c2a.zip
u-boot-imx-32ab6b2785b763588644e766235e2ed21a853c2a.tar.gz
u-boot-imx-32ab6b2785b763588644e766235e2ed21a853c2a.tar.bz2
ENGR00140825: Add mx53 to2.1 chip id recognition
Add mx53 to2.1 chip id recognition. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale')
-rwxr-xr-xboard/freescale/mx53_ard/mx53_ard.c6
-rw-r--r--board/freescale/mx53_evk/mx53_evk.c5
-rw-r--r--board/freescale/mx53_loco/mx53_loco.c5
-rw-r--r--board/freescale/mx53_smd/mx53_smd.c5
4 files changed, 17 insertions, 4 deletions
diff --git a/board/freescale/mx53_ard/mx53_ard.c b/board/freescale/mx53_ard/mx53_ard.c
index ad3f794..6803777 100755
--- a/board/freescale/mx53_ard/mx53_ard.c
+++ b/board/freescale/mx53_ard/mx53_ard.c
@@ -196,9 +196,13 @@ static inline void setup_soc_rev(void)
case 0x20:
system_rev = 0x53000 | CHIP_REV_2_0;
break;
+ case 0x21:
+ system_rev = 0x53000 | CHIP_REV_2_1;
+ break;
default:
- system_rev = 0x53000 | CHIP_REV_2_0;
+ system_rev = 0x53000 | CHIP_REV_UNKNOWN;
}
+
switch (board_rev) {
case 0x01:
system_rev |= BOARD_REV_1;
diff --git a/board/freescale/mx53_evk/mx53_evk.c b/board/freescale/mx53_evk/mx53_evk.c
index 79472a7..d36c803 100644
--- a/board/freescale/mx53_evk/mx53_evk.c
+++ b/board/freescale/mx53_evk/mx53_evk.c
@@ -134,8 +134,11 @@ static inline void setup_soc_rev(void)
case 0x20:
system_rev = 0x53000 | CHIP_REV_2_0;
break;
+ case 0x21:
+ system_rev = 0x53000 | CHIP_REV_2_1;
+ break;
default:
- system_rev = 0x53000 | CHIP_REV_2_0;
+ system_rev = 0x53000 | CHIP_REV_UNKNOWN;
}
}
diff --git a/board/freescale/mx53_loco/mx53_loco.c b/board/freescale/mx53_loco/mx53_loco.c
index 83977de..ef90889 100644
--- a/board/freescale/mx53_loco/mx53_loco.c
+++ b/board/freescale/mx53_loco/mx53_loco.c
@@ -131,8 +131,11 @@ static inline void setup_soc_rev(void)
case 0x20:
system_rev = 0x53000 | CHIP_REV_2_0;
break;
+ case 0x21:
+ system_rev = 0x53000 | CHIP_REV_2_1;
+ break;
default:
- system_rev = 0x53000 | CHIP_REV_2_0;
+ system_rev = 0x53000 | CHIP_REV_UNKNOWN;
}
}
diff --git a/board/freescale/mx53_smd/mx53_smd.c b/board/freescale/mx53_smd/mx53_smd.c
index 1ef757c..5a9062f 100644
--- a/board/freescale/mx53_smd/mx53_smd.c
+++ b/board/freescale/mx53_smd/mx53_smd.c
@@ -193,8 +193,11 @@ static inline void setup_soc_rev(void)
case 0x20:
system_rev = 0x53000 | CHIP_REV_2_0;
break;
+ case 0x21:
+ system_rev = 0x53000 | CHIP_REV_2_1;
+ break;
default:
- system_rev = 0x53000 | CHIP_REV_2_0;
+ system_rev = 0x53000 | CHIP_REV_UNKNOWN;
}
switch (board_rev) {