patch-2.4.21 linux-2.4.21/arch/ppc/config.in
Next file: linux-2.4.21/arch/ppc/configs/IVMS8_defconfig
Previous file: linux-2.4.21/arch/ppc/boot/utils/mktree.c
Back to the patch index
Back to the overall index
- Lines: 110
- Date:
2003-06-13 07:51:31.000000000 -0700
- Orig file:
linux-2.4.20/arch/ppc/config.in
- Orig date:
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.20/arch/ppc/config.in linux-2.4.21/arch/ppc/config.in
@@ -1,4 +1,3 @@
-# BK Id: %F% %I% %G% %U% %#%
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/config-language.txt.
@@ -58,9 +57,12 @@
fi
if [ "$CONFIG_4xx" = "y" ]; then
- choice 'Machine Type' \
+ choice 'Machine Type' \
"Oak CONFIG_OAK \
Walnut CONFIG_WALNUT" Oak
+ if [ "$CONFIG_WALNUT" = "y" ]; then
+ define_bool CONFIG_IBM405_ERR77 y
+ fi
fi
if [ "$CONFIG_8xx" = "y" ]; then
@@ -99,10 +101,20 @@
"CHRP/PowerMac/PReP CONFIG_ALL_PPC \
Amiga-APUS CONFIG_APUS \
IBM-Spruce CONFIG_SPRUCE \
+ Motorola-LoPEC CONFIG_LOPEC \
SBS-Palomar4 CONFIG_PAL4 \
Synergy-Gemini CONFIG_GEMINI" CHRP/PowerMac/PReP
fi
+if [ "$CONFIG_SPRUCE" = "y" ]; then
+ define_bool CONFIG_GEN550 y
+fi
+
+if [ "$CONFIG_LOPEC" = "y" ]; then
+ define_bool CONFIG_EPIC_SERIAL_MODE y
+ define_bool CONFIG_GEN550 y
+fi
+
if [ "$CONFIG_PPC_STD_MMU" != "y" ]; then
define_bool CONFIG_ALL_PPC n
fi
@@ -184,12 +196,9 @@
source drivers/parport/Config.in
-if [ "$CONFIG_4xx" != "y" ]; then
- if [ "$CONFIG_APUS" != "y" ]; then
- tristate 'Support for /dev/rtc' CONFIG_PPC_RTC
- else
- bool 'Generic /dev/rtc emulation' CONFIG_GEN_RTC
- fi
+tristate 'Generic /dev/rtc emulation' CONFIG_GEN_RTC
+if [ "$CONFIG_GEN_RTC" = "n" -a "$CONFIG_APUS" != "y" ]; then
+ tristate 'Support for /dev/rtc' CONFIG_PPC_RTC
fi
if [ "$CONFIG_ALL_PPC" = "y" -a "$CONFIG_POWER3" = "n" ] ; then
@@ -199,9 +208,12 @@
if [ "$CONFIG_ALL_PPC" = "y" ]; then
bool 'Support for Open Firmware device tree in /proc' CONFIG_PROC_DEVICETREE
bool 'Support for RTAS (RunTime Abstraction Services) in /proc' CONFIG_PPC_RTAS
- bool 'Support for early boot text console (BootX or OpenFirmware only)' CONFIG_BOOTX_TEXT
bool 'Support for PReP Residual Data' CONFIG_PREP_RESIDUAL
dep_bool ' Support for reading of PReP Residual Data in /proc' CONFIG_PROC_PREPRESIDUAL $CONFIG_PREP_RESIDUAL
+ define_bool CONFIG_PPCBUG_NVRAM y
+fi
+if [ "$CONFIG_LOPEC" = "y" ]; then
+ bool 'Enable reading PPCBUG NVRAM during boot' CONFIG_PPCBUG_NVRAM
fi
bool 'Default bootloader kernel arguments' CONFIG_CMDLINE_BOOL
@@ -414,14 +426,38 @@
fi
bool ' Wait queue debugging' CONFIG_DEBUG_WAITQ
bool ' Include kgdb kernel debugger' CONFIG_KGDB
+ if [ "$CONFIG_KGDB" = "y" ]; then
+ choice ' Serial Port' \
+ "ttyS0 CONFIG_KGDB_TTYS0 \
+ ttyS1 CONFIG_KGDB_TTYS1 \
+ ttyS2 CONFIG_KGDB_TTYS2 \
+ ttyS3 CONFIG_KGDB_TTYS3" ttyS1
+ fi
+ if [ "$CONFIG_8xx" = "y" ]; then
+ dep_bool ' Enable serial console thru kgdb port' CONFIG_KGDB_CONSOLE $CONFIG_KGDB
+ fi
bool ' Include xmon kernel debugger' CONFIG_XMON
bool ' Include BDI-2000 user context switcher' CONFIG_BDI_SWITCH
+ # CONFIG_KGDB is much more useful with -g enbaled. This makes the
+ # following look a little odd.
if [ "$CONFIG_KGDB" = "y" -o "$CONFIG_XMON" = "y" \
-o "$CONFIG_BDI_SWITCH" = "y" ]; then
- bool ' Add any additional compile options' CONFIG_MORE_COMPILE_OPTIONS
+ bool ' Add any additional compile options' CONFIG_MORE_COMPILE_OPTIONS
if [ "$CONFIG_MORE_COMPILE_OPTIONS" = "y" ]; then
string ' Additional compile arguments' CONFIG_COMPILE_OPTIONS "-g -ggdb"
+ else
+ if [ "$CONFIG_KGDB" = "y" ]; then
+ define_bool CONFIG_MORE_COMPILE_OPTIONS y
+ define_string CONFIG_COMPILE_OPTIONS "-g"
+ fi
fi
fi
fi
+
+if [ "$CONFIG_ALL_PPC" = "y" ]; then
+ bool 'Support for early boot text console (BootX or OpenFirmware only)' CONFIG_BOOTX_TEXT
+fi
+if [ "$CONFIG_GEN550" = "y" ]; then
+ bool 'Support for early boot texts over serial port' CONFIG_SERIAL_TEXT_DEBUG
+fi
endmenu
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)