]> git.sur5r.net Git - u-boot/commit
OMAP3: fix warnings when NAND/ONENAND is not used
authorNishanth Menon <nm@ti.com>
Tue, 13 Oct 2009 16:47:39 +0000 (12:47 -0400)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 18 Oct 2009 21:52:54 +0000 (16:52 -0500)
commit4e0539d2696992a5e32643a0c831e870cfe9a036
treed6b2c468e47f4941c5a3b8ac6b2a3ba0fdadf3e7
parent73db0c71da365a2d101878ae3aeb8ff3545a1828
OMAP3: fix warnings when NAND/ONENAND is not used

Fix build warnings by putting specific used variables
under required #ifdefs for removing:
mem.c:227: warning: unused variable 'f_sec'
mem.c:226: warning: unused variable 'f_off'
mem.c:225: warning: unused variable 'size'
mem.c:224: warning: unused variable 'base'
mem.c:222: warning: unused variable 'gpmc_config'

Signed-off-by: Nishanth Menon <nm@ti.com>
cpu/arm_cortexa8/omap3/mem.c