From e362247d0a17c4702835b0889e1149fa270976f2 Mon Sep 17 00:00:00 2001 From: Lily Zhang Date: Wed, 7 Jul 2010 13:27:01 +0800 Subject: 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 --- board/freescale/mx53_evk/mx53_evk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1