]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-mvebu/mbus.c
arm64: mvebu: Add support for the Marvell Armada 3700 SoC
[u-boot] / arch / arm / mach-mvebu / mbus.c
index 771cce6fa3b7a381d8400bc196f018fee897439f..c4128cdeed2206b19acad77721c28043407a3775 100644 (file)
  */
 
 #include <common.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
-#include <linux/compat.h>
+#include <linux/log2.h>
 #include <linux/mbus.h>
 
 /* DDR target is the same on all platforms */
@@ -491,7 +491,7 @@ int mvebu_mbus_probe(struct mbus_win windows[], int count)
 #if defined(CONFIG_KIRKWOOD)
        mbus_state.soc = &kirkwood_mbus_data;
 #endif
-#if defined(CONFIG_ARMADA_XP)
+#if defined(CONFIG_ARCH_MVEBU)
        mbus_state.soc = &armada_370_xp_mbus_data;
 #endif