Skip to content
Snippets Groups Projects
  • Scott Wood's avatar
    5b8e6bb5
    nand: remove dead code and suspend/resume · 5b8e6bb5
    Scott Wood authored
    
    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: default avatarScott Wood <scottwood@freescale.com>
    Tested-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
    5b8e6bb5
    History
    nand: remove dead code and suspend/resume
    Scott Wood authored
    
    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: default avatarScott Wood <scottwood@freescale.com>
    Tested-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
nand_base.c 74.73 KiB