From: Stefan Roese Date: Sat, 25 Apr 2015 04:29:49 +0000 (+0200) Subject: arm: mvebu: Only define MV88F78X60 for Armada XP X-Git-Tag: KARO-TX6-2015-09-18~2231 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=dc0dcc24c715a183cb1b22c8734a76710e8227f0;p=karo-tx-uboot.git 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 Tested-by: Kevin Smith Tested-by: Dirk Eibach --- 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 +#if defined(CONFIG_ARMADA_XP) #define MV88F78X60 /* for the DDR training bin_hdr code */ +#endif #define CONFIG_SYS_CACHELINE_SIZE 32