]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: mvebu: Only define MV88F78X60 for Armada XP
authorStefan Roese <sr@denx.de>
Sat, 25 Apr 2015 04:29:49 +0000 (06:29 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:11 +0000 (22:37 +0200)
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>
arch/arm/mach-mvebu/include/mach/config.h

index 01b725b581b4194c04b65e628a65623f7f190a1f..86a0aed7699e2dfcc8ccf297fb407589930f718b 100644 (file)
@@ -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