[PATCH 0/6] code size reduction for xloader

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Jan 12 10:21:36 EST 2012


On 15:14 Thu 12 Jan     , Premi, Sanjeev wrote:
> > -----Original Message-----
> > From: barebox-bounces at lists.infradead.org 
> > [mailto:barebox-bounces at lists.infradead.org] On Behalf Of 
> > Jean-Christophe PLAGNIOL-VILLARD
> > Sent: Wednesday, January 11, 2012 6:59 PM
> > To: barebox at lists.infradead.org
> > Subject: [PATCH 0/6] code size reduction for xloader
> > 
> > HI,
> > 
> > 	this patch serie wrok on disble non needed code to 
> > optimize the size
> > 	of barebox specially in the case of non interactive 
> > version suc as
> > 	xloader for TI and late bootstrap for at91
> > 
> > 	tis will also iclude a sync of the kconfig need for this
> 
> I manually pulled all the patches in this series against latest
> "master" except (didn't seemed related to size reduction):
>       kconfig: sync to linux 3.2-rc4
because you do need this one

to be able to the IS_ENABLED macro
> 
> I encountered compile error in this patch:
>     param: add config to disable it
> 
>   CC      drivers/mtd/core.o
> drivers/mtd/core.c: In function 'add_mtd_device':
> drivers/mtd/core.c:230:2: warning: implicit declaration of function 'IS_ENABLED'
> drivers/mtd/core.c:230:17: error: 'CONFIG_PARAMETER' undeclared (first use in this function)
> drivers/mtd/core.c:230:17: note: each undeclared identifier is reported only once for each function it appears in
> make[2]: *** [drivers/mtd/core.o] Error 1
> make[1]: *** [drivers/mtd] Error 2
> make: *** [drivers] Error 2
> 
> I am not sure whether IS_ENABLED is implemented in yet-to-be merged patch;
> so, continued testing after applying the temp patch at bottom of
> this mail.

Best Regards,
J.



More information about the barebox mailing list