projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8257c3
)
s5pc110: kessler: Incorrect board revision check
author
MyungJoo Ham
<MyungJoo.Ham@samsung.com>
Tue, 23 Feb 2010 11:45:11 +0000
(20:45 +0900)
committer
MyungJoo Ham
<MyungJoo.Ham@samsung.com>
Tue, 23 Feb 2010 11:45:11 +0000
(20:45 +0900)
"board" of kessler > C110_MACH_START; thus, if (board<0) works
incorrectly. This patch allows "kessler" to boot.
board/samsung/universal/universal.c
patch
|
blob
|
history
diff --git
a/board/samsung/universal/universal.c
b/board/samsung/universal/universal.c
index
9408678
..
4d5d2ed
100644
(file)
--- 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);