aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-11-15 14:48:50 -0500
committerRalf Baechle <ralf@linux-mips.org>2012-12-13 11:02:14 -0500
commit0e2794b0b72f38d0dd5aa8474e22b1fe56fb8bd1 (patch)
treee5bb62e59914a7177e4ed6cbe7b81769fc7d5cf7 /arch
parentabe77f90dc9c65a7c9a4d61c2cbb8db4d5566e4f (diff)
MIPS: Kconfig: Rename several firmware related config symbols.
With the upcoming merge of the ARC architecture there is a small likelyhood of conflicting use for the CONFIG_ARC config symbol. Rename it to CONFIG_FW_ARC. Also rename CONFIG_ARC32 to CONFIG_FW_ARC32, CONFIG_ARC64 to CONFIG_FW_ARC64. For consistence also rename CONFIG_SNIPROM to CONFIG_FW_SNIPROM and CONFIG_CFE to CONFIG_FW_CFE. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kconfig34
-rw-r--r--arch/mips/Makefile6
-rw-r--r--arch/mips/fw/sni/Makefile2
-rw-r--r--arch/mips/include/asm/fw/arc/types.h8
-rw-r--r--arch/mips/include/asm/sgiarcs.h8
-rw-r--r--arch/mips/sibyte/Kconfig2
-rw-r--r--arch/mips/sni/setup.c8
7 files changed, 34 insertions, 34 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index c97fc030fdac..9b3759eef953 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -109,13 +109,13 @@ config BCM47XX
109 select CEVT_R4K 109 select CEVT_R4K
110 select CSRC_R4K 110 select CSRC_R4K
111 select DMA_NONCOHERENT 111 select DMA_NONCOHERENT
112 select FW_CFE
112 select HW_HAS_PCI 113 select HW_HAS_PCI
113 select IRQ_CPU 114 select IRQ_CPU
114 select SYS_SUPPORTS_32BIT_KERNEL 115 select SYS_SUPPORTS_32BIT_KERNEL
115 select SYS_SUPPORTS_LITTLE_ENDIAN 116 select SYS_SUPPORTS_LITTLE_ENDIAN
116 select GENERIC_GPIO 117 select GENERIC_GPIO
117 select SYS_HAS_EARLY_PRINTK 118 select SYS_HAS_EARLY_PRINTK
118 select CFE
119 help 119 help
120 Support for BCM47XX based boards 120 Support for BCM47XX based boards
121 121
@@ -192,8 +192,8 @@ config MACH_DECSTATION
192 192
193config MACH_JAZZ 193config MACH_JAZZ
194 bool "Jazz family of machines" 194 bool "Jazz family of machines"
195 select ARC 195 select FW_ARC
196 select ARC32 196 select FW_ARC32
197 select ARCH_MAY_HAVE_PC_FDC 197 select ARCH_MAY_HAVE_PC_FDC
198 select CEVT_R4K 198 select CEVT_R4K
199 select CSRC_R4K 199 select CSRC_R4K
@@ -457,8 +457,8 @@ config POWERTV
457 457
458config SGI_IP22 458config SGI_IP22
459 bool "SGI IP22 (Indy/Indigo2)" 459 bool "SGI IP22 (Indy/Indigo2)"
460 select ARC 460 select FW_ARC
461 select ARC32 461 select FW_ARC32
462 select BOOT_ELF32 462 select BOOT_ELF32
463 select CEVT_R4K 463 select CEVT_R4K
464 select CSRC_R4K 464 select CSRC_R4K
@@ -497,8 +497,8 @@ config SGI_IP22
497 497
498config SGI_IP27 498config SGI_IP27
499 bool "SGI IP27 (Origin200/2000)" 499 bool "SGI IP27 (Origin200/2000)"
500 select ARC 500 select FW_ARC
501 select ARC64 501 select FW_ARC64
502 select BOOT_ELF64 502 select BOOT_ELF64
503 select DEFAULT_SGI_PARTITION 503 select DEFAULT_SGI_PARTITION
504 select DMA_COHERENT 504 select DMA_COHERENT
@@ -518,8 +518,8 @@ config SGI_IP27
518config SGI_IP28 518config SGI_IP28
519 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)" 519 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
520 depends on EXPERIMENTAL 520 depends on EXPERIMENTAL
521 select ARC 521 select FW_ARC
522 select ARC64 522 select FW_ARC64
523 select BOOT_ELF64 523 select BOOT_ELF64
524 select CEVT_R4K 524 select CEVT_R4K
525 select CSRC_R4K 525 select CSRC_R4K
@@ -554,8 +554,8 @@ config SGI_IP28
554 554
555config SGI_IP32 555config SGI_IP32
556 bool "SGI IP32 (O2)" 556 bool "SGI IP32 (O2)"
557 select ARC 557 select FW_ARC
558 select ARC32 558 select FW_ARC32
559 select BOOT_ELF32 559 select BOOT_ELF32
560 select CEVT_R4K 560 select CEVT_R4K
561 select CSRC_R4K 561 select CSRC_R4K
@@ -673,8 +673,8 @@ config SIBYTE_BIGSUR
673 673
674config SNI_RM 674config SNI_RM
675 bool "SNI RM200/300/400" 675 bool "SNI RM200/300/400"
676 select ARC if CPU_LITTLE_ENDIAN 676 select FW_ARC if CPU_LITTLE_ENDIAN
677 select ARC32 if CPU_LITTLE_ENDIAN 677 select FW_ARC32 if CPU_LITTLE_ENDIAN
678 select SNIPROM if CPU_BIG_ENDIAN 678 select SNIPROM if CPU_BIG_ENDIAN
679 select ARCH_MAY_HAVE_PC_FDC 679 select ARCH_MAY_HAVE_PC_FDC
680 select BOOT_ELF32 680 select BOOT_ELF32
@@ -908,7 +908,7 @@ config SCHED_OMIT_FRAME_POINTER
908# 908#
909# Select some configuration options automatically based on user selections. 909# Select some configuration options automatically based on user selections.
910# 910#
911config ARC 911config FW_ARC
912 bool 912 bool
913 913
914config ARCH_MAY_HAVE_PC_FDC 914config ARCH_MAY_HAVE_PC_FDC
@@ -963,7 +963,7 @@ config GPIO_TXX9
963 select ARCH_REQUIRE_GPIOLIB 963 select ARCH_REQUIRE_GPIOLIB
964 bool 964 bool
965 965
966config CFE 966config FW_CFE
967 bool 967 bool
968 968
969config ARCH_DMA_ADDR_T_64BIT 969config ARCH_DMA_ADDR_T_64BIT
@@ -1188,7 +1188,7 @@ config SGI_HAS_I8042
1188config DEFAULT_SGI_PARTITION 1188config DEFAULT_SGI_PARTITION
1189 bool 1189 bool
1190 1190
1191config ARC32 1191config FW_ARC32
1192 bool 1192 bool
1193 1193
1194config SNIPROM 1194config SNIPROM
@@ -1221,7 +1221,7 @@ config ARC_PROMLIB
1221 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32 1221 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1222 default y 1222 default y
1223 1223
1224config ARC64 1224config FW_ARC64
1225 bool 1225 bool
1226 1226
1227config BOOT_ELF64 1227config BOOT_ELF64
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 033395ec82f1..f5f873eed8be 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -173,9 +173,9 @@ endif
173# 173#
174# Firmware support 174# Firmware support
175# 175#
176libs-$(CONFIG_ARC) += arch/mips/fw/arc/ 176libs-$(CONFIG_FW_ARC) += arch/mips/fw/arc/
177libs-$(CONFIG_CFE) += arch/mips/fw/cfe/ 177libs-$(CONFIG_FW_CFE) += arch/mips/fw/cfe/
178libs-$(CONFIG_SNIPROM) += arch/mips/fw/sni/ 178libs-$(CONFIG_FW_SNIPROM) += arch/mips/fw/sni/
179libs-y += arch/mips/fw/lib/ 179libs-y += arch/mips/fw/lib/
180 180
181# 181#
diff --git a/arch/mips/fw/sni/Makefile b/arch/mips/fw/sni/Makefile
index d9740a3788e2..3f01dd36e6b7 100644
--- a/arch/mips/fw/sni/Makefile
+++ b/arch/mips/fw/sni/Makefile
@@ -2,4 +2,4 @@
2# Makefile for the SNI prom monitor routines under Linux. 2# Makefile for the SNI prom monitor routines under Linux.
3# 3#
4 4
5lib-$(CONFIG_SNIPROM) += sniprom.o 5lib-$(CONFIG_FW_SNIPROM) += sniprom.o
diff --git a/arch/mips/include/asm/fw/arc/types.h b/arch/mips/include/asm/fw/arc/types.h
index b9adcd6f0860..2b11f87d6fb3 100644
--- a/arch/mips/include/asm/fw/arc/types.h
+++ b/arch/mips/include/asm/fw/arc/types.h
@@ -10,7 +10,7 @@
10#define _ASM_ARC_TYPES_H 10#define _ASM_ARC_TYPES_H
11 11
12 12
13#ifdef CONFIG_ARC32 13#ifdef CONFIG_FW_ARC32
14 14
15typedef char CHAR; 15typedef char CHAR;
16typedef short SHORT; 16typedef short SHORT;
@@ -33,9 +33,9 @@ typedef LONG _PUSHORT;
33typedef LONG _PULONG; 33typedef LONG _PULONG;
34typedef LONG _PVOID; 34typedef LONG _PVOID;
35 35
36#endif /* CONFIG_ARC32 */ 36#endif /* CONFIG_FW_ARC32 */
37 37
38#ifdef CONFIG_ARC64 38#ifdef CONFIG_FW_ARC64
39 39
40typedef char CHAR; 40typedef char CHAR;
41typedef short SHORT; 41typedef short SHORT;
@@ -57,7 +57,7 @@ typedef USHORT *_PUSHORT;
57typedef ULONG *_PULONG; 57typedef ULONG *_PULONG;
58typedef VOID *_PVOID; 58typedef VOID *_PVOID;
59 59
60#endif /* CONFIG_ARC64 */ 60#endif /* CONFIG_FW_ARC64 */
61 61
62typedef CHAR *PCHAR; 62typedef CHAR *PCHAR;
63typedef SHORT *PSHORT; 63typedef SHORT *PSHORT;
diff --git a/arch/mips/include/asm/sgiarcs.h b/arch/mips/include/asm/sgiarcs.h
index 149342951436..3dce7c788b3e 100644
--- a/arch/mips/include/asm/sgiarcs.h
+++ b/arch/mips/include/asm/sgiarcs.h
@@ -366,7 +366,7 @@ struct linux_smonblock {
366 * Macros for calling a 32-bit ARC implementation from 64-bit code 366 * Macros for calling a 32-bit ARC implementation from 64-bit code
367 */ 367 */
368 368
369#if defined(CONFIG_64BIT) && defined(CONFIG_ARC32) 369#if defined(CONFIG_64BIT) && defined(CONFIG_FW_ARC32)
370 370
371#define __arc_clobbers \ 371#define __arc_clobbers \
372 "$2", "$3" /* ... */, "$8", "$9", "$10", "$11", \ 372 "$2", "$3" /* ... */, "$8", "$9", "$10", "$11", \
@@ -475,10 +475,10 @@ struct linux_smonblock {
475 __res; \ 475 __res; \
476}) 476})
477 477
478#endif /* defined(CONFIG_64BIT) && defined(CONFIG_ARC32) */ 478#endif /* defined(CONFIG_64BIT) && defined(CONFIG_FW_ARC32) */
479 479
480#if (defined(CONFIG_32BIT) && defined(CONFIG_ARC32)) || \ 480#if (defined(CONFIG_32BIT) && defined(CONFIG_FW_ARC32)) || \
481 (defined(CONFIG_64BIT) && defined(CONFIG_ARC64)) 481 (defined(CONFIG_64BIT) && defined(CONFIG_FW_ARC64))
482 482
483#define ARC_CALL0(dest) \ 483#define ARC_CALL0(dest) \
484({ long __res; \ 484({ long __res; \
diff --git a/arch/mips/sibyte/Kconfig b/arch/mips/sibyte/Kconfig
index 3cd937e0e9a3..01cc1a749c73 100644
--- a/arch/mips/sibyte/Kconfig
+++ b/arch/mips/sibyte/Kconfig
@@ -74,7 +74,7 @@ config SIBYTE_SB1xxx_SOC
74 select SWAP_IO_SPACE 74 select SWAP_IO_SPACE
75 select SYS_SUPPORTS_32BIT_KERNEL 75 select SYS_SUPPORTS_32BIT_KERNEL
76 select SYS_SUPPORTS_64BIT_KERNEL 76 select SYS_SUPPORTS_64BIT_KERNEL
77 select CFE 77 select FW_CFE
78 select SYS_HAS_EARLY_PRINTK 78 select SYS_HAS_EARLY_PRINTK
79 79
80choice 80choice
diff --git a/arch/mips/sni/setup.c b/arch/mips/sni/setup.c
index 413f17f8e892..d6c7bd4b5ab0 100644
--- a/arch/mips/sni/setup.c
+++ b/arch/mips/sni/setup.c
@@ -15,12 +15,12 @@
15#include <linux/fb.h> 15#include <linux/fb.h>
16#include <linux/screen_info.h> 16#include <linux/screen_info.h>
17 17
18#ifdef CONFIG_ARC 18#ifdef CONFIG_FW_ARC
19#include <asm/fw/arc/types.h> 19#include <asm/fw/arc/types.h>
20#include <asm/sgialib.h> 20#include <asm/sgialib.h>
21#endif 21#endif
22 22
23#ifdef CONFIG_SNIPROM 23#ifdef CONFIG_FW_SNIPROM
24#include <asm/mipsprom.h> 24#include <asm/mipsprom.h>
25#endif 25#endif
26 26
@@ -37,7 +37,7 @@ extern void sni_machine_power_off(void);
37 37
38static void __init sni_display_setup(void) 38static void __init sni_display_setup(void)
39{ 39{
40#if defined(CONFIG_VT) && defined(CONFIG_VGA_CONSOLE) && defined(CONFIG_ARC) 40#if defined(CONFIG_VT) && defined(CONFIG_VGA_CONSOLE) && defined(CONFIG_FW_ARC)
41 struct screen_info *si = &screen_info; 41 struct screen_info *si = &screen_info;
42 DISPLAY_STATUS *di; 42 DISPLAY_STATUS *di;
43 43
@@ -56,7 +56,7 @@ static void __init sni_display_setup(void)
56 56
57static void __init sni_console_setup(void) 57static void __init sni_console_setup(void)
58{ 58{
59#ifndef CONFIG_ARC 59#ifndef CONFIG_FW_ARC
60 char *ctype; 60 char *ctype;
61 char *cdev; 61 char *cdev;
62 char *baud; 62 char *baud;