From: Kim Phillips Date: Wed, 31 Oct 2012 16:52:15 -0500 Subject: [U-Boot] [PATCH] 8xxx: Change all 8*xx_DDR addresses to 8xxx In-Reply-To: <1351040465-19161-1-git-send-email-afleming@freescale.com> References: <1351040465-19161-1-git-send-email-afleming@freescale.com> Message-ID: <20121031165215.ccd91a0857f4480756f25e9b@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 23 Oct 2012 20:01:05 -0500 Andy Fleming 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 > Tested-by: Andy Fleming > --- > > 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