> -----Original Message----- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of loody > Sent: Tuesday, February 24, 2009 12:19 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] Some question about uboot > > Dear all: > While porting uboot, I find there are too many things I don't > need at all, like net, i2c etc. > How could I remove them from my uboot binary to minimize the > size of uboot, my flash limitation is 6k? > I try to edit Makefile to remove them by marking some library > setting, but it compile error after I doing so. > Is there any easier way to meet my requirement?
Justr trim your board specific file in include/configs/ folder. Remove the CONFIGS you do not want. > Appreciate your help, > miloody > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot