Commit f7c0ef073d9e6cdfb98ec7b6dd754926b6afc3ea

Authored by Stefan Roese
Committed by Luka Perkov
1 parent 8402b69b7e

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>

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

arch/arm/mach-mvebu/include/mach/config.h
... ... @@ -9,7 +9,7 @@
9 9 /*
10 10 * This file should be included in board config header file.
11 11 *
12   - * It supports common definitions for Armada XP platforms
  12 + * It supports common definitions for MVEBU platforms
13 13 */
14 14  
15 15 #ifndef _MVEBU_CONFIG_H
16 16  
... ... @@ -17,7 +17,9 @@
17 17  
18 18 #include <asm/arch/soc.h>
19 19  
  20 +#if defined(CONFIG_ARMADA_XP)
20 21 #define MV88F78X60 /* for the DDR training bin_hdr code */
  22 +#endif
21 23  
22 24 #define CONFIG_SYS_CACHELINE_SIZE 32
23 25