Sascha, > -----Original Message----- > From: Sascha Hauer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2008 10:28 AM > To: Menon, Nishanth > Cc: Timur Tabi; Laurent Desnogues; Kamat, Nishant; [EMAIL PROTECTED]; u-boot- > [EMAIL PROTECTED] > Subject: Re: [U-Boot-Users] [Patch 0/9] U-boot-V2: Introduce I2C support for > SDP3430 > > B) Since we use a different linking strategy in U-Boot-v2 which uses gcc > > link stage to decide which > functions be retained and which not, it is pretty neat to see all unused > functionality disappear. > > Note that this is only true when modules are disabled. Once modules are > enabled, every function marked with EXPORT_MODULE gets linked in as you > don't know which functions will be needed later. So please check your > build with modules enabled. True, in fact it will hit everything in the system. But with the same argument, the i2c module itself could then be made a module. That will help on size as required. Most default boot configuration of u-boot might probably prefer to keep things limited to not having modules and keeping size, in which case, this point might help.
Regards, Nishanth Menon ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
