1 From c515f21d7680015bc94e0c081b73aba5a3d74680 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Thu, 17 Oct 2013 13:14:48 +0200
4 Subject: [PATCH V2 12/13] MIPS: cpu-type: guard BMIPS variants with
7 BMIPS32 and BMIPS3300 also need to be available for MIPS32R1, as
8 bcm47xx might not select BMIPS.
10 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
12 arch/mips/include/asm/cpu-type.h | 13 ++++++++++---
13 1 file changed, 10 insertions(+), 3 deletions(-)
15 --- a/arch/mips/include/asm/cpu-type.h
16 +++ b/arch/mips/include/asm/cpu-type.h
17 @@ -27,10 +27,7 @@ static inline int __pure __get_cpu_type(
18 #ifdef CONFIG_SYS_HAS_CPU_MIPS32_R1
28 @@ -163,6 +160,16 @@ static inline int __pure __get_cpu_type(
29 case CPU_CAVIUM_OCTEON2:
32 +#if defined(CONFIG_SYS_HAS_CPU_BMIPS32_3300) || \
33 + defined (CONFIG_SYS_HAS_CPU_MIPS32_R1)
38 +#ifdef CONFIG_SYS_HAS_CPU_BMIPS4350
42 #ifdef CONFIG_SYS_HAS_CPU_BMIPS4380