powerpc: wii_defconfig: Disable Ethernet driver support code
PATCH 1/2 powerpc: wii_defconfig: Disable Ethernet driver support code
The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in a different menu. Disable CONFIG_ETHERNET to save some space in support code for Ethernet drivers.
add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-367 (-367)
Function old new deltakernel_config_data 13691 13324 -367
Total: Before=8341718, After=8341351, chg -0.00%
--- arch/powerpc/configs/wii_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/configs/wii_defconfig +1 -0
@@ -49,6 +49,7 @@ CONFIG_BLK_DEV_RAM_COUNT=2 CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_NETDEVICES=y +# CONFIG_ETHERNET is not set CONFIG_B43=y CONFIG_B43_SDIO=y # CONFIG_B43_PHY_LP is not set
Signature · 1 line
2.17.0
PATCH 2/2 powerpc: wii_defconfig: Enable GPIO-related options
Now that there's a GPIO driver for the Wii, let's enable the following drivers:
- the GPIO driver itself
- gpio-keys
- gpio-poweroff
- gpio-leds and a few LED triggers
--- arch/powerpc/configs/wii_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/powerpc/configs/wii_defconfig +8 -0
@@ -58,6 +58,7 @@ CONFIG_INPUT_FF_MEMLESS=m CONFIG_INPUT_JOYDEV=y CONFIG_INPUT_EVDEV=y # CONFIG_KEYBOARD_ATKBD is not set +CONFIG_KEYBOARD_GPIO=y # CONFIG_MOUSE_PS2 is not set CONFIG_INPUT_JOYSTICK=y CONFIG_INPUT_MISC=y
@@ -72,6 +73,9 @@ CONFIG_I2C_CHARDEV=y CONFIG_I2C_GPIO=y CONFIG_GPIOLIB=y CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_HLWD=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_GPIO=y # CONFIG_HWMON is not set CONFIG_SSB_DEBUG=y CONFIG_FB=y
@@ -89,6 +93,10 @@ CONFIG_HID_APPLE=m CONFIG_HID_WACOM=m CONFIG_MMC=y CONFIG_MMC_SDHCI=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_LEDS_TRIGGER_PANIC=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_GENERIC=y CONFIG_EXT2_FS=y
Signature · 1 line
2.17.0
Re: [PATCH 2/2] powerpc: wii_defconfig: Enable GPIO-related options
Quoted 10 lines · Jonathan Neuschäfer
Now that there's a GPIO driver for the Wii, let's enable the following drivers:
- the GPIO driver itself
- gpio-keys
- gpio-poweroff
- gpio-leds and a few LED triggersSigned-off-by Jonathan Neuschäfer <[email protected]>---
[...]
arch/powerpc/configs/wii_defconfig CONFIG_HID_APPLE=m · line 99
Quoted 4 lines
arch/powerpc/configs/wii_defconfig +4
-0+CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_LEDS_TRIGGER_PANIC=y
Oops, this doesn't work without first enabling CONFIG_NEW_LEDS and CONFIG_LEDS_TRIGGERS. I'll send a v2.
Jonathan Neuschäfer