Skip to content
  • Paul Gortmaker's avatar
    sbc8548: enable support for hardware SPD errata workaround · 3e3262bd
    Paul Gortmaker authored
    
    
    Existing boards by default have an issue where the LBC SDRAM
    SPD EEPROM and the DDR2 SDRAM SPD EEPROM both land at 0x51.
    
    After the hardware modification listed in the README is made,
    then the DDR2 SPD EEPROM appears at 0x53.  So this implements
    a board specific get_spd() by taking advantage of the existing
    weak linkage, that 1st tries reading at 0x53 and then if that
    fails, it falls back to the old 0x51.
    
    Since the old dependency issue of "SPD implies no LBC SDRAM"
    gets removed with the hardware errata fix, remove that restriction
    in the code, so both LBC SDRAM and SPD can be selected.
    
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    3e3262bd