summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-04-25 06:29:49 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-05-05 14:28:29 +0200
commitf7c0ef073d9e6cdfb98ec7b6dd754926b6afc3ea (patch)
treea5f9cdf25d181ff1b6aee77c24e50162f1c9f358
parent8402b69b7eaef9c5389bdb5dc6f0454a4a76ea80 (diff)
downloadtalos-obmc-uboot-f7c0ef073d9e6cdfb98ec7b6dd754926b6afc3ea.tar.gz
talos-obmc-uboot-f7c0ef073d9e6cdfb98ec7b6dd754926b6afc3ea.zip
arm: mvebu: Only define MV88F78X60 for Armada XP
This define is used by the DDR training code for Armada XP. With the upcoming addition of Armada 38x support, lets only define it for Armada XP in this common header. Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com> Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
-rw-r--r--arch/arm/mach-mvebu/include/mach/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/config.h b/arch/arm/mach-mvebu/include/mach/config.h
index 01b725b581..86a0aed769 100644
--- a/arch/arm/mach-mvebu/include/mach/config.h
+++ b/arch/arm/mach-mvebu/include/mach/config.h
@@ -9,7 +9,7 @@
/*
* This file should be included in board config header file.
*
- * It supports common definitions for Armada XP platforms
+ * It supports common definitions for MVEBU platforms
*/
#ifndef _MVEBU_CONFIG_H
@@ -17,7 +17,9 @@
#include <asm/arch/soc.h>
+#if defined(CONFIG_ARMADA_XP)
#define MV88F78X60 /* for the DDR training bin_hdr code */
+#endif
#define CONFIG_SYS_CACHELINE_SIZE 32
OpenPOWER on IntegriCloud