]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: db-mv784mp-gp: Fix ECC I2C address
authorStefan Roese <sr@denx.de>
Wed, 22 Apr 2015 16:36:39 +0000 (18:36 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Tue, 5 May 2015 12:32:05 +0000 (14:32 +0200)
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>
drivers/ddr/mvebu/ddr3_axp.h

index bf65f6bab7e6df7db5144509a3755ebd8d6ffc8e..d9e33f7c6e25602726d7c8fa077439037862d511 100644 (file)
@@ -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