[U-Boot] [PATCH 4/5] OMAP3: fix warnings when NAND/ONENAND is not used

Paulraj, Sandeep s-paulraj at ti.com
Sat Oct 10 21:20:54 CEST 2009



> 
> 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 at ti.com>
> Cc: David B <david-b at pacbell.net>
> Cc: Vikram Pandita <vikram.pandita at ti.com>
> Cc: Richard Woodruff <r-woodruff2 at ti.com>
> Cc: Sandeep Paulraj <s-paulraj at ti.com>
> Cc: Tom Rix <tom.rix at windriver.com>
> Cc: Dirk Behme <dirk.behme at googlemail.com>
> ---
>  cpu/arm_cortexa8/omap3/mem.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)


Pushed to u-boot-ti next

http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commitdiff;h=9a6856e54708598902eba30bb030b917778bbb8b

Thanks,
Sandeep


More information about the U-Boot mailing list