On Wed, 4 Feb 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:59 Wed 04 Feb , Guennadi Liakhovetski wrote: > > The "size" variable in start_armboot() in lib_arm/board.c is only really > > used in > > #if !defined(CONFIG_SYS_NO_FLASH) > > case, remove where unused. > > > why not remove it > in the CONFIG_SYS_NO_FLASH you can not use it at all
Sorry? remove what? the "size" variable? Have a look at the code - it is _used_ if CONFIG_SYS_NO_FLASH is _not_ defined, and so it is also defined for this case. Or have I misunderstood you? Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot