summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2010-07-07 13:27:01 +0800
committerLily Zhang <r58066@freescale.com>2010-07-08 09:34:14 +0800
commite362247d0a17c4702835b0889e1149fa270976f2 (patch)
treeba8080c463faabbe7a029b047fe9bfd1e7fdd84c
parent1ac6a858ea0d1618b9341794c4b9b550cce659ad (diff)
downloadu-boot-imx-e362247d0a17c4702835b0889e1149fa270976f2.zip
u-boot-imx-e362247d0a17c4702835b0889e1149fa270976f2.tar.gz
u-boot-imx-e362247d0a17c4702835b0889e1149fa270976f2.tar.bz2
ENGR00124912 MX53: Fix board ID check issue
Accoring to board identification table, the ADC data register value range between "0xB9E79F - 0xC00000" indicates 21. Signed-off-by: Lily Zhang <r58066@freescale.com>
-rw-r--r--board/freescale/mx53_evk/mx53_evk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx53_evk/mx53_evk.c b/board/freescale/mx53_evk/mx53_evk.c
index f8b553f..86ab2a1 100644
--- a/board/freescale/mx53_evk/mx53_evk.c
+++ b/board/freescale/mx53_evk/mx53_evk.c
@@ -358,7 +358,7 @@ static int __lookup_board_id(int adc_val)
id = 19;
else if (adc_val < 0xB9E79F)
id = 20;
- else if (adc_val < 0xC00000)
+ else if (adc_val <= 0xC00000)
id = 21;
else
return -1;