diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-26 07:52:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-26 07:51:46 -0400 |
commit | 1f972768a1df1518f45adb6b8ffbf04fa1c99737 (patch) | |
tree | c4064d7e525d7ed2ba0db60f89211d665a605bdd | |
parent | 36ac26171afa8dbf29226199699fe955d4a0b6f6 (diff) |
x86, RDC321x: add to mach-default
first step to add RDC321x support to the default PC architecture.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/Kconfig | 26 | ||||
-rw-r--r-- | arch/x86/Makefile | 5 |
2 files changed, 11 insertions, 20 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e3cba0b45600..39ae67985950 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -23,7 +23,7 @@ config X86 | |||
23 | select HAVE_OPROFILE | 23 | select HAVE_OPROFILE |
24 | select HAVE_IOREMAP_PROT | 24 | select HAVE_IOREMAP_PROT |
25 | select HAVE_KPROBES | 25 | select HAVE_KPROBES |
26 | select ARCH_WANT_OPTIONAL_GPIOLIB if !X86_RDC321X | 26 | select ARCH_WANT_OPTIONAL_GPIOLIB |
27 | select HAVE_KRETPROBES | 27 | select HAVE_KRETPROBES |
28 | select HAVE_DYNAMIC_FTRACE | 28 | select HAVE_DYNAMIC_FTRACE |
29 | select HAVE_FTRACE | 29 | select HAVE_FTRACE |
@@ -332,20 +332,6 @@ config X86_BIGSMP | |||
332 | 332 | ||
333 | endif | 333 | endif |
334 | 334 | ||
335 | config X86_RDC321X | ||
336 | bool "RDC R-321x SoC" | ||
337 | depends on X86_32 | ||
338 | select M486 | ||
339 | select X86_REBOOTFIXUPS | ||
340 | select GENERIC_GPIO | ||
341 | select LEDS_CLASS | ||
342 | select LEDS_GPIO | ||
343 | select NEW_LEDS | ||
344 | help | ||
345 | This option is needed for RDC R-321x system-on-chip, also known | ||
346 | as R-8610-(G). | ||
347 | If you don't have one of these chips, you should say N here. | ||
348 | |||
349 | config X86_VSMP | 335 | config X86_VSMP |
350 | bool "Support for ScaleMP vSMP" | 336 | bool "Support for ScaleMP vSMP" |
351 | select PARAVIRT | 337 | select PARAVIRT |
@@ -369,6 +355,16 @@ config X86_VISWS | |||
369 | A kernel compiled for the Visual Workstation will run on general | 355 | A kernel compiled for the Visual Workstation will run on general |
370 | PCs as well. See <file:Documentation/sgi-visws.txt> for details. | 356 | PCs as well. See <file:Documentation/sgi-visws.txt> for details. |
371 | 357 | ||
358 | config X86_RDC321X | ||
359 | bool "RDC R-321x SoC" | ||
360 | depends on X86_32 | ||
361 | select M486 | ||
362 | select X86_REBOOTFIXUPS | ||
363 | help | ||
364 | This option is needed for RDC R-321x system-on-chip, also known | ||
365 | as R-8610-(G). | ||
366 | If you don't have one of these chips, you should say N here. | ||
367 | |||
372 | config SCHED_NO_NO_OMIT_FRAME_POINTER | 368 | config SCHED_NO_NO_OMIT_FRAME_POINTER |
373 | def_bool y | 369 | def_bool y |
374 | prompt "Single-depth WCHAN output" | 370 | prompt "Single-depth WCHAN output" |
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 919ce21ea654..f5631da585b6 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
@@ -118,11 +118,6 @@ mflags-$(CONFIG_X86_GENERICARCH):= -Iinclude/asm-x86/mach-generic | |||
118 | fcore-$(CONFIG_X86_GENERICARCH) += arch/x86/mach-generic/ | 118 | fcore-$(CONFIG_X86_GENERICARCH) += arch/x86/mach-generic/ |
119 | mcore-$(CONFIG_X86_GENERICARCH) := arch/x86/mach-default/ | 119 | mcore-$(CONFIG_X86_GENERICARCH) := arch/x86/mach-default/ |
120 | 120 | ||
121 | # RDC R-321x subarch support | ||
122 | mflags-$(CONFIG_X86_RDC321X) := -Iinclude/asm-x86/mach-rdc321x | ||
123 | mcore-$(CONFIG_X86_RDC321X) := arch/x86/mach-default/ | ||
124 | core-$(CONFIG_X86_RDC321X) += arch/x86/mach-rdc321x/ | ||
125 | |||
126 | # default subarch .h files | 121 | # default subarch .h files |
127 | mflags-y += -Iinclude/asm-x86/mach-default | 122 | mflags-y += -Iinclude/asm-x86/mach-default |
128 | 123 | ||