diff options
author | Wolfgang Denk <wd@nyx.denx.de> | 2006-03-06 13:03:37 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@nyx.denx.de> | 2006-03-06 13:03:37 +0100 |
commit | bfc81252c0de3bfcf92c7c35bc04341fb33e4e4e (patch) | |
tree | d2b832bf54040b49a8518b63620f2774398fa8d5 /board/dave/PPChameleonEVB | |
parent | 4e3ccd26925e5ada78dd89779838f052dffe3e67 (diff) | |
download | u-boot-imx-bfc81252c0de3bfcf92c7c35bc04341fb33e4e4e.zip u-boot-imx-bfc81252c0de3bfcf92c7c35bc04341fb33e4e4e.tar.gz u-boot-imx-bfc81252c0de3bfcf92c7c35bc04341fb33e4e4e.tar.bz2 |
Minor code cleanup
Diffstat (limited to 'board/dave/PPChameleonEVB')
-rw-r--r-- | board/dave/PPChameleonEVB/config.mk | 1 | ||||
-rw-r--r-- | board/dave/PPChameleonEVB/nand.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/board/dave/PPChameleonEVB/config.mk b/board/dave/PPChameleonEVB/config.mk index 5d3df0c..1dc635f 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 61edc78..40a827c 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; } |