aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-16 18:49:41 -0500
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:15:45 -0500
commit5df326aca48b8631c9e3c90c76d7e9f0b466a721 (patch)
tree2cfa75ca3aab344c45711f37bcec734fa6f71fa1 /arch/blackfin/mach-bf548
parent2f5a0864025743aeae20669984c1a998fe263194 (diff)
Blackfin: push BF5Xx configs down into mach-specific Kconfigs
While we're moving the BF54x code, have the BF54xM variants select the normal BF54x values so that the rest of the Kconfig tree doesn't need to check the BF54xM variant everytime it wants to check the BF54x. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/Kconfig24
-rw-r--r--arch/blackfin/mach-bf548/include/mach/bf548.h12
2 files changed, 24 insertions, 12 deletions
diff --git a/arch/blackfin/mach-bf548/Kconfig b/arch/blackfin/mach-bf548/Kconfig
index a09623dfd550..70189a0d1a19 100644
--- a/arch/blackfin/mach-bf548/Kconfig
+++ b/arch/blackfin/mach-bf548/Kconfig
@@ -1,3 +1,27 @@
1config BF542
2 def_bool y
3 depends on BF542_std || BF542M
4config BF544
5 def_bool y
6 depends on BF544_std || BF544M
7config BF547
8 def_bool y
9 depends on BF547_std || BF547M
10config BF548
11 def_bool y
12 depends on BF548_std || BF548M
13config BF549
14 def_bool y
15 depends on BF549_std || BF549M
16
17config BF54xM
18 def_bool y
19 depends on (BF542M || BF544M || BF547M || BF548M || BF549M)
20
21config BF54x
22 def_bool y
23 depends on (BF542 || BF544 || BF547 || BF548 || BF549)
24
1if (BF54x) 25if (BF54x)
2 26
3source "arch/blackfin/mach-bf548/boards/Kconfig" 27source "arch/blackfin/mach-bf548/boards/Kconfig"
diff --git a/arch/blackfin/mach-bf548/include/mach/bf548.h b/arch/blackfin/mach-bf548/include/mach/bf548.h
index 7bead5ce0f3b..751e5e11ecf8 100644
--- a/arch/blackfin/mach-bf548/include/mach/bf548.h
+++ b/arch/blackfin/mach-bf548/include/mach/bf548.h
@@ -81,18 +81,6 @@
81 81
82#define AMGCTLVAL (V_AMBEN | V_AMCKEN) 82#define AMGCTLVAL (V_AMBEN | V_AMCKEN)
83 83
84#if defined(CONFIG_BF542M)
85# define CONFIG_BF542
86#elif defined(CONFIG_BF544M)
87# define CONFIG_BF544
88#elif defined(CONFIG_BF547M)
89# define CONFIG_BF547
90#elif defined(CONFIG_BF548M)
91# define CONFIG_BF548
92#elif defined(CONFIG_BF549M)
93# define CONFIG_BF549
94#endif
95
96#if defined(CONFIG_BF542) 84#if defined(CONFIG_BF542)
97# define CPU "BF542" 85# define CPU "BF542"
98# define CPUID 0x27de 86# define CPUID 0x27de