aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/mpc85xx_ddr_gen1.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-02 16:42:35 -0500
committerTom Rini <trini@konsulko.com>2022-12-22 10:31:48 -0500
commit829e9d223657f5779668bb7a46e902a85e09b664 (patch)
tree1eb0a7342b37799fb8134c0c3a463dca76b951f7 /drivers/ddr/fsl/mpc85xx_ddr_gen1.c
parent2cc61a631bb8ae1acfadac9840abaa803091b7ac (diff)
ddr: fsl: Remove CONFIG_MEM_INIT_VALUE
The way all of the memory init code here works is that we pass 0xDEADBEEF around for the initial value (as it's a well known 'poison' value and so easily recognized in debuggers, etc). The only point of this CONFIG symbol was to pass in a different value for that purpose. Drop this symbol and cleanup the code slightly. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/ddr/fsl/mpc85xx_ddr_gen1.c')
-rw-r--r--drivers/ddr/fsl/mpc85xx_ddr_gen1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/fsl/mpc85xx_ddr_gen1.c b/drivers/ddr/fsl/mpc85xx_ddr_gen1.c
index 0f1e99eeb0..16186bdbae 100644
--- a/drivers/ddr/fsl/mpc85xx_ddr_gen1.c
+++ b/drivers/ddr/fsl/mpc85xx_ddr_gen1.c
@@ -73,7 +73,7 @@ ddr_enable_ecc(unsigned int dram_size)
struct ccsr_ddr __iomem *ddr =
(struct ccsr_ddr __iomem *)(CFG_SYS_FSL_DDR_ADDR);
- dma_meminit(CONFIG_MEM_INIT_VALUE, dram_size);
+ dma_meminit(dram_size);
/*
* Enable errors for ECC.