projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
[platform/kernel/u-boot.git]
/
arch
/
sparc
/
lib
/
board.c
diff --git
a/arch/sparc/lib/board.c
b/arch/sparc/lib/board.c
index
32d025a
..
1b5e995
100644
(file)
--- a/
arch/sparc/lib/board.c
+++ b/
arch/sparc/lib/board.c
@@
-284,8
+284,7
@@
void board_init_f(ulong bootflag)
*
* NOTE: Maybe we should add some WATCHDOG_RESET()? XXX
*/
- s = getenv("flashchecksum");
- if (s && (*s == 'y')) {
+ if (getenv_yesno("flashchecksum") == 1) {
printf(" CRC: %08lX",
crc32(0, (const unsigned char *)CONFIG_SYS_FLASH_BASE,
flash_size)