diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-11-16 18:49:41 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:15:45 -0500 |
commit | 5df326aca48b8631c9e3c90c76d7e9f0b466a721 (patch) | |
tree | 2cfa75ca3aab344c45711f37bcec734fa6f71fa1 /arch/blackfin/mach-bf548 | |
parent | 2f5a0864025743aeae20669984c1a998fe263194 (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/Kconfig | 24 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/bf548.h | 12 |
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 @@ | |||
1 | config BF542 | ||
2 | def_bool y | ||
3 | depends on BF542_std || BF542M | ||
4 | config BF544 | ||
5 | def_bool y | ||
6 | depends on BF544_std || BF544M | ||
7 | config BF547 | ||
8 | def_bool y | ||
9 | depends on BF547_std || BF547M | ||
10 | config BF548 | ||
11 | def_bool y | ||
12 | depends on BF548_std || BF548M | ||
13 | config BF549 | ||
14 | def_bool y | ||
15 | depends on BF549_std || BF549M | ||
16 | |||
17 | config BF54xM | ||
18 | def_bool y | ||
19 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) | ||
20 | |||
21 | config BF54x | ||
22 | def_bool y | ||
23 | depends on (BF542 || BF544 || BF547 || BF548 || BF549) | ||
24 | |||
1 | if (BF54x) | 25 | if (BF54x) |
2 | 26 | ||
3 | source "arch/blackfin/mach-bf548/boards/Kconfig" | 27 | source "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 |