summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/include/mach/config.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-02-10 07:23:00 +0100
committerStefan Roese <sr@denx.de>2016-04-04 11:22:05 +0200
commit09e89ab4af01c551246b3d08f8b31a24ee035ae8 (patch)
tree4a6c8e5ee7ae4dd0af94a4931f009736f829b161 /arch/arm/mach-mvebu/include/mach/config.h
parent0b45a79faa2f61bc095c785cfbfe4aa5206d9d13 (diff)
downloadu-boot-imx-09e89ab4af01c551246b3d08f8b31a24ee035ae8.zip
u-boot-imx-09e89ab4af01c551246b3d08f8b31a24ee035ae8.tar.gz
u-boot-imx-09e89ab4af01c551246b3d08f8b31a24ee035ae8.tar.bz2
arm: mvebu: Add basic support for the Marvell Armada 375 SoC
This patch adds basic support for the Armada 375. Please note that currently the SerDes and DDR3 init code for the A375 is not included / enabled. This will be done in a later, follow-up patch. Right now, this A375 mainline U-Boot can only be used by chainloading it via the original Marvell U-Boot. This can be done via this command: => tftpboot 00800000 a375/u-boot-dtb.bin;go 00800000 Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-mvebu/include/mach/config.h')
-rw-r--r--arch/arm/mach-mvebu/include/mach/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/config.h b/arch/arm/mach-mvebu/include/mach/config.h
index cc1fc5f..b8a8c62 100644
--- a/arch/arm/mach-mvebu/include/mach/config.h
+++ b/arch/arm/mach-mvebu/include/mach/config.h
@@ -17,7 +17,8 @@
#include <asm/arch/soc.h>
-#if defined(CONFIG_ARMADA_XP) || defined(CONFIG_ARMADA_38X)
+#if defined(CONFIG_ARMADA_XP) || defined(CONFIG_ARMADA_375) \
+ || defined(CONFIG_ARMADA_38X)
/*
* Set this for the common xor register definitions needed in dram.c
* for A38x as well here.
@@ -78,8 +79,10 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_MII /* expose smi ove miiphy interface */
+#if !defined(CONFIG_ARMADA_375)
#define CONFIG_MVNETA /* Enable Marvell Gbe Controller Driver */
#define CONFIG_PHYLIB
+#endif
#define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */
#define CONFIG_PHY_GIGE /* GbE speed/duplex detect */
#define CONFIG_ARP_TIMEOUT 200