From 7b6119f2c86a6b24ad1c09fdb627671c0aa22e35 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Tue, 23 Feb 2010 20:45:11 +0900 Subject: [PATCH] s5pc110: kessler: Incorrect board revision check "board" of kessler > C110_MACH_START; thus, if (board<0) works incorrectly. This patch allows "kessler" to boot. --- board/samsung/universal/universal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index 9408678..4d5d2ed 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -654,13 +654,13 @@ static void show_hw_revision(void) } } - if (cpu_is_s5pc110()) + if (machine_is_kessler() || machine_is_aquila()) + board = gd->bd->bi_arch_number; + else if (cpu_is_s5pc110()) board = gd->bd->bi_arch_number - C110_MACH_START; else board = gd->bd->bi_arch_number - C100_MACH_START; - if (board < 0) - board = gd->bd->bi_arch_number; check_board_revision(board, board_rev); -- 2.7.4