From: Wolfgang Denk Date: Sun, 13 Mar 2011 22:40:15 +0100 Subject: [U-Boot] [PATCH] powerpc/8xxx: Reduce NAND-SPL build size In-Reply-To: <1299471395-26596-1-git-send-email-galak@kernel.crashing.org> References: <1299471395-26596-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20110313214015.EC6651518DB5@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <1299471395-26596-1-git-send-email-galak@kernel.crashing.org> you wrote: > We don't use disable_law in the SPL code so only build it if > !CONFIG_NAND_SPL. Does -ffunction-sections / --gc-sections not catch this automatically? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away. - Antoine de Saint-Exupery