summaryrefslogtreecommitdiffstats
path: root/board/dave
diff options
context:
space:
mode:
authorWolfgang Denk <wd@nyx.denx.de>2006-03-06 13:03:37 +0100
committerWolfgang Denk <wd@nyx.denx.de>2006-03-06 13:03:37 +0100
commitbfc81252c0de3bfcf92c7c35bc04341fb33e4e4e (patch)
treed2b832bf54040b49a8518b63620f2774398fa8d5 /board/dave
parent4e3ccd26925e5ada78dd89779838f052dffe3e67 (diff)
downloadblackbird-obmc-uboot-bfc81252c0de3bfcf92c7c35bc04341fb33e4e4e.tar.gz
blackbird-obmc-uboot-bfc81252c0de3bfcf92c7c35bc04341fb33e4e4e.zip
Minor code cleanup
Diffstat (limited to 'board/dave')
-rw-r--r--board/dave/PPChameleonEVB/config.mk1
-rw-r--r--board/dave/PPChameleonEVB/nand.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/board/dave/PPChameleonEVB/config.mk b/board/dave/PPChameleonEVB/config.mk
index 5d3df0c858..1dc635fbf0 100644
--- a/board/dave/PPChameleonEVB/config.mk
+++ b/board/dave/PPChameleonEVB/config.mk
@@ -32,4 +32,3 @@ BOARDLIBS = drivers/nand/libnand.a
# Compile the legacy NAND code (CFG_NAND_LEGACY must be defined)
#BOARDLIBS = drivers/nand_legacy/libnand_legacy.a
-
diff --git a/board/dave/PPChameleonEVB/nand.c b/board/dave/PPChameleonEVB/nand.c
index 61edc787fa..40a827c3e2 100644
--- a/board/dave/PPChameleonEVB/nand.c
+++ b/board/dave/PPChameleonEVB/nand.c
@@ -81,7 +81,7 @@ static int ppchameleonevb_device_ready(struct mtd_info *mtdinfo)
break;
}
- if (in32(GPIO0_IR) & rb_gpio_pin)
+ if (in32(GPIO0_IR) & rb_gpio_pin)
return 1;
return 0;
}
OpenPOWER on IntegriCloud