summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8360erdk/mpc8360erdk.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-06-30 17:15:50 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-07-02 11:15:49 -0500
commit9adda5459ca62120c0c50b82b766fe1cf6925bbf (patch)
tree156c90806b6ef1f986348f13b02223a96b3bdfe2 /board/freescale/mpc8360erdk/mpc8360erdk.c
parent039594a4301dadceb267db5e8b9c8c78b1bb86b5 (diff)
downloadu-boot-imx-9adda5459ca62120c0c50b82b766fe1cf6925bbf.zip
u-boot-imx-9adda5459ca62120c0c50b82b766fe1cf6925bbf.tar.gz
u-boot-imx-9adda5459ca62120c0c50b82b766fe1cf6925bbf.tar.bz2
83xx: Replace CONFIG_ECC_INIT_VIA_DDRC references
Update 83xx architecture's CONFIG_ECC_INIT_VIA_DDRC references to CONFIG_ECC_INIT_VIA_DDRCONTROLLER, which other Freescale architectures use Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8360erdk/mpc8360erdk.c')
-rw-r--r--board/freescale/mpc8360erdk/mpc8360erdk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mpc8360erdk/mpc8360erdk.c b/board/freescale/mpc8360erdk/mpc8360erdk.c
index af3b8ce..3771878 100644
--- a/board/freescale/mpc8360erdk/mpc8360erdk.c
+++ b/board/freescale/mpc8360erdk/mpc8360erdk.c
@@ -268,7 +268,7 @@ int fixed_sdram(void)
phys_size_t initdram(int board_type)
{
-#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRC)
+#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
extern void ddr_enable_ecc(unsigned int dram_size);
#endif
volatile immap_t *im = (immap_t *)CONFIG_SYS_IMMR;
@@ -281,7 +281,7 @@ phys_size_t initdram(int board_type)
im->sysconf.ddrlaw[0].bar = CONFIG_SYS_DDR_BASE & LAWBAR_BAR;
msize = fixed_sdram();
-#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRC)
+#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
/*
* Initialize DDR ECC byte
*/