[U-Boot] [PATCH] 8xxx: Change all 8*xx_DDR addresses to 8xxx

Kim Phillips kim.phillips at freescale.com
Wed Oct 31 22:52:15 CET 2012


On Tue, 23 Oct 2012 20:01:05 -0500
Andy Fleming <afleming at freescale.com> wrote:

> There were a number of shared files that were using
> CONFIG_SYS_MPC85xx_DDR_ADDR, or CONFIG_SYS_MPC86xx_DDR_ADDR, and
> several variants (DDR2, DDR3). A recent patchset added
> 85xx-specific ones to code which was used by 86xx systems.
> After reviewing places where these constants were used, and
> noting that the type definitions of the pointers assigned to
> point to those addresses were the same, the cleanest approach
> to fixing this problem was to unify the namespace for the
> 85xx, 83xx, and 86xx DDR address definitions.
> 
> This patch does:
> 
> s/CONFIG_SYS_MPC8.xx_DDR/CONFIG_SYS_MPC8xxx_DDR/g
> 
> All 85xx, 86xx, and 83xx have been built with this change.
> 
> Signed-off-by: Andy Fleming <afleming at freescale.com>
> Tested-by: Andy Fleming <afleming at freescale.com>
> ---
> 
> I tested this on one 85xx board (p4080ds), and one 83xx board
> (mpc837xerdb). I'll give it a day or so before I apply it, in
> case there are objections. It's mostly trivial, but touches
> very sensitive code.

missed one in fixed_sdram() in
board/freescale/mpc8569mds/mpc8569mds.c (not used because
CONFIG_SPD_EEPROM is defined).  Otherwise:

Acked-by: Kim Phillips <kim.phillips at freescale.com>

Kim



More information about the U-Boot mailing list