]> git.sur5r.net Git - u-boot/commit
mxc nand: Fix warning on !MXC_NFC_V2_1
authorTom Rini <trini@ti.com>
Tue, 18 Sep 2012 16:24:22 +0000 (09:24 -0700)
committerTom Rini <trini@ti.com>
Tue, 18 Sep 2012 16:24:22 +0000 (09:24 -0700)
commitefa1f43b7dbdc0ab4db103f472f2838adc6f7ba1
treee51567340894687415c1e2350b12056432e909e5
parentc413a004ea62d0ff150c85615348c59ea456bb34
mxc nand: Fix warning on !MXC_NFC_V2_1

In board_nand_init() we only need the 'tmp' variable if MXC_NFC_V2_1 is
defined.

Signed-off-by: Tom Rini <trini@ti.com>
drivers/mtd/nand/mxc_nand.c