From cc96ccdd276550d4b79f0e67d34006b562b52544 Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Tue, 11 Aug 2009 17:30:04 +0900 Subject: [PATCH] s5pc110: TickerTape: Handle detect board veriants Signed-off-by: Kyungmin Park --- board/samsung/universal/universal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index e74c2fd..1986a22 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -104,8 +104,8 @@ static void check_hw_revision(void) gd->bd->bi_arch_number = 3100; /* Universal */ pin = S5PC110_GPIO_BASE(S5PC110_GPIO_D1_OFFSET); pin += S5PC1XX_GPIO_DAT_OFFSET; - /* Universal: 0x0F, TickerTape: 0x3C */ - if (readl(pin) == 0x3C) { + /* Universal: 0x0F, TickerTape: 0xXC */ + if ((readl(pin) & 0x3) == 0) { /* C110 TickerTape */ gd->bd->bi_arch_number = 3101; /* TickerTape */ board_rev = 3; -- 2.7.4