From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kumar Gala Date: Wed, 9 Feb 2011 23:21:18 -0600 Subject: [U-Boot] [PATCH 2/2 v3] powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board In-Reply-To: <1296852266-1801-1-git-send-email-galak@kernel.crashing.org> References: <1296852266-1801-1-git-send-email-galak@kernel.crashing.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Feb 4, 2011, at 2:44 PM, Kumar Gala wrote: > 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 > --- > * Changed __get_spd error message from debug -> printf applied to 85xx next - k