diff options
author | Scott Wood <scottwood@freescale.com> | 2010-08-25 17:42:49 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2010-10-11 15:10:35 -0500 |
commit | 5b8e6bb517ea4f6d8ba9fa11c84e0373bc7ead2c (patch) | |
tree | 7163fa332c56e404374cffa5723db3a8cd8de289 /drivers/mtd/cfi_mtd.c | |
parent | 8c5659a6daa2a3af75ec762d25f40dd053bed26f (diff) | |
download | u-boot-imx-5b8e6bb517ea4f6d8ba9fa11c84e0373bc7ead2c.zip u-boot-imx-5b8e6bb517ea4f6d8ba9fa11c84e0373bc7ead2c.tar.gz u-boot-imx-5b8e6bb517ea4f6d8ba9fa11c84e0373bc7ead2c.tar.bz2 |
nand: remove dead code and suspend/resume
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@freescale.com>
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Diffstat (limited to 'drivers/mtd/cfi_mtd.c')
0 files changed, 0 insertions, 0 deletions