summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-04-22 18:36:39 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-05-05 14:32:05 +0200
commit144d509378dfd9630d8c50fb65f702ad763ea8c8 (patch)
treeaa93e0dc9dff3dd62d9b22dcae8e2cb720031e39
parent2bae75a488b589d3cdcc58d9fdc1383f571b4a65 (diff)
arm: mvebu: db-mv784mp-gp: Fix ECC I2C address
The macro to select the I2C address for ECC bus-width detection was defined incorrectly for the Marvell DB-MV784MP-GP board. This patch changes the macro to the correct value to fix this issue. Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--drivers/ddr/mvebu/ddr3_axp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/mvebu/ddr3_axp.h b/drivers/ddr/mvebu/ddr3_axp.h
index bf65f6bab7..d9e33f7c6e 100644
--- a/drivers/ddr/mvebu/ddr3_axp.h
+++ b/drivers/ddr/mvebu/ddr3_axp.h
@@ -35,7 +35,7 @@
#define ECC_SUPPORT
#define NEW_FABRIC_TWSI_ADDR 0x4E
-#ifdef DB_784MP_GP
+#ifdef CONFIG_DB_784MP_GP
#define BUS_WIDTH_ECC_TWSI_ADDR 0x4E
#else
#define BUS_WIDTH_ECC_TWSI_ADDR 0x4F