diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-02-01 04:18:47 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-04-04 14:24:41 (GMT) |
commit | c39f44dc6f5ae843d5def511f6e71d4b012dc598 (patch) | |
tree | d863c3a3e87967d01e4de1021bd20abe3b57af7a /include/configs/P1022DS.h | |
parent | 5df4b0ad0dff3cef1bd6660bcc8cba028c80adcb (diff) | |
download | u-boot-c39f44dc6f5ae843d5def511f6e71d4b012dc598.tar.xz |
powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board
Move fsl_ddr_get_spd into common mpc8xxx/ddr/main.c as most boards
pretty much do the same thing. The only variations are in how many
controllers or DIMMs per controller exist. To make this work we
standardize on the names of the SPD_EEPROM_ADDRESS defines based on the
use case of the board.
We allow boards to override get_spd to either do board specific fixups
to the SPD data or deal with any unique behavior of how the SPD eeproms
are wired up.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/P1022DS.h')
-rw-r--r-- | include/configs/P1022DS.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index 84b7e1d..5f47d1a 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -87,7 +87,7 @@ /* I2C addresses of SPD EEPROMs */ #define CONFIG_SYS_SPD_BUS_NUM 1 -#define SPD_EEPROM_ADDRESS1 0x51 /* CTLR 0 DIMM 0 */ +#define SPD_EEPROM_ADDRESS 0x51 /* CTLR 0 DIMM 0 */ /* * Memory map |