htcleo: update Kconfig , Makefile

This commit is contained in:
Lukas-David Gorris 2010-10-05 16:46:49 +02:00
parent 62e67795d1
commit 8e1ded9931
2 changed files with 40 additions and 8 deletions

View File

@ -498,7 +498,7 @@ choice
bool "DG Timer"
help
High resolution timer.
endchoice
endchoice
choice
prompt "Suspend sleep mode"
@ -525,7 +525,7 @@ choice
config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
bool "Wait for interrupt"
endchoice
endchoice
config MSM7X00A_SLEEP_MODE
int
@ -560,7 +560,7 @@ choice
config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
bool "Wait for interrupt"
endchoice
endchoice
config MSM7X00A_IDLE_SLEEP_MODE
int
@ -861,7 +861,7 @@ config WIFI_CONTROL_FUNC
bool "Enable WiFi control function abstraction"
help
Enables Power/Reset/Carddetect function abstraction
config WIFI_MEM_PREALLOC
depends on WIFI_CONTROL_FUNC
bool "Preallocate memory for WiFi buffers"
@ -1081,3 +1081,35 @@ config HTCLEO_ENABLE_MULTI_TOUCH
depends on MACH_HTCLEO
help
Add multitouch support for touchscreen
choice
prompt "HTCLEO Keymapping"
default HTCLEO_KEYMAP_ANDROID
config HTCLEO_KEYMAP_ANDROID
bool "Keymapping for Android"
help
Optimized for the default Android GUI
config HTCLEO_KEYMAP_DPAD
bool "Alternative Keymapping"
help
Useful in GUIs not designed for touch-only use as this enables
four direction keys, alt key and enter key. Assumes landscape orientation.
endchoice
choice
prompt "HTCLEO Backlight API type"
default HTCLEO_BACKLIGHT_LED
config HTCLEO_BACKLIGHT_LED
bool "Backlight control via LED API"
help
Needed by Google Android
config HTCLEO_BACKLIGHT
select BACKLIGHT_LCD_SUPPORT
bool "Standard backlight API"
help
Works in standard Linux distros. Tested in GNOME.
endchoice

View File

@ -18,7 +18,7 @@ obj-$(CONFIG_ARCH_MSM_SCORPION) += idle-v7.o
obj-y += gpio.o generic_gpio.o
obj-y += nand_partitions.o
obj-y += drv_callback.o
obj-$(CONFIG_ARCH_QSD8X50) += pmic.o
obj-$(CONFIG_ARCH_QSD8X50) += pmic.o
ifndef CONFIG_MACH_HTCLEO
obj-$(CONFIG_ARCH_QSD8X50) += htc_wifi_nvs.o htc_bluetooth.o
else
@ -118,9 +118,11 @@ obj-$(CONFIG_MACH_HTCLEO) += board-htcleo.o board-htcleo-spi.o board-htcleo-pane
obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-ts.o board-htcleo-mmc.o ieee754-df.o board-htcleo-power.o
obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-battery.o board-htcleo-log.o board-htcleo-audio.o board-htcleo-acoustic.o
obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-bt.o board-htcleo-wifi.o board-htcleo-microp.o board-htcleo-bkl.o
obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-bt.o board-htcleo-wifi.o board-htcleo-microp.o
obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-proximity.o board-htcleo-leds.o board-htcleo-ls.o
obj-$(CONFIG_MACH_HTCLEO) += clock-wince.o
obj-$(CONFIG_HTCLEO_BACKLIGHT) += board-htcleo-bl.o
obj-$(CONFIG_HTCLEO_BACKLIGHT_LED) += board-htcleo-bl-led.o
# MSM7x30 boards
obj-$(CONFIG_ARCH_MSM7X30) += panel-samsungwvga-tl2796a.o panel-samsungwvga-s6e63m0.o panel-sonywvga-s6d16a0x21-7x30.o
@ -244,5 +246,3 @@ obj-$(CONFIG_MACH_MAHIMAHI) += board-mahimahi-smb329.o
obj-$(CONFIG_MSM_SSBI) += ssbi.o
obj-$(CONFIG_HTC_FB_CONSOLE) += htc_fb_console.o