[U-Boot] [PATCH 5/5] nand: remove dead code and suspend/resume

Ben Gardiner bengardiner at nanometrics.ca
Tue Aug 31 23:46:31 CEST 2010


On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood <scottwood at freescale.com> wrote:
> Get rid of the several "#if 0" sections that were keeping around Linux
> code that isn't relevant to U-Boot.  Besides cluttering the code, these
> sections make tracking upstream changes harder, rather than easier.
> It's easy to discard obviously irrelevant diff hunks that patch rejects,
> but it's not as easy to notice hunks that apply cleanly to the #if 0
> section, but *are* relevant to U-Boot and require modification elsewhere.
>
> Also remove suspend/resume, as this is not applicable to U-Boot.  Removal
> saves 232 bytes on powerpc.
>
> Signed-off-by: Scott Wood <scottwood at freescale.com>

applies cleanly to 962ad59e25640e586e2bceabf67a628a27f8f508 of
git://git.denx.de/u-boot.git

Tested on da850evm_config with NAND enabled;

Tested-by: Ben Gardiner <bengardiner at nanometrics.ca>

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca


More information about the U-Boot mailing list