From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 16 Jun 2009 16:06:00 -0500 Subject: [U-Boot] there is no need for uboot to use linux's mtd driver! In-Reply-To: <200906161702.18872.vapier@gentoo.org> References: <200906111737.n5BHblLO059758@mse1.zte.com.cn> <20090616183300.GA22696@b07421-ec1.am.freescale.net> <200906161702.18872.vapier@gentoo.org> Message-ID: <4A380938.1070600@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Mike Frysinger wrote: > On Tuesday 16 June 2009 14:33:00 Scott Wood wrote: >> I agree that there should be a way for the generic functions >> to not be compiled if they're not needed. > > if gc-sections is used, then it isnt a problem ... Not without some other changes -- there would still be references to the unused functions in the form of code that would set function pointers to them if those function pointers weren't already non-NULL. -Scott