diff options
author | Lily Zhang <r58066@freescale.com> | 2010-07-07 13:27:01 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2010-07-08 09:34:14 +0800 |
commit | e362247d0a17c4702835b0889e1149fa270976f2 (patch) | |
tree | ba8080c463faabbe7a029b047fe9bfd1e7fdd84c /board | |
parent | 1ac6a858ea0d1618b9341794c4b9b550cce659ad (diff) | |
download | u-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>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx53_evk/mx53_evk.c | 2 |
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; |