Minor code cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user