config MACH_LGE
	bool

menu "LGE Device-Specific Changes"

menu "LGE Board Selection"

config MACH_MSM7X27_THUNDERC
	depends on ARCH_MSM7X27
	depends on !MSM_STACKED_MEMORY
	select MACH_LGE
	bool "MSM7x27 THUNDER CDMA"
	help
	  Support for the LGE MSM7x27 THUNDER CDMA board.

choice
	prompt "MSM7X27 THUNDER CDMA Selection"
	depends on MACH_MSM7X27_THUNDERC
	default MACH_MSM7X27_THUNDERC_VERIZON
 
config MACH_MSM7X27_THUNDERC_VERIZON
	bool "MSM7x27 THUNDER CDMA Verizon"
	help
	  Support for the LGE MSM7x27 THUNDER CDMA Verizon board.
 
config MACH_MSM7X27_THUNDERC_SPRINT
	bool "MSM7x27 THUNDER CDMA Sprint"
	help
	  Support for the LGE MSM7x27 THUNDER CDMA Sprint board.
endchoice

config MACH_MSM7X27_THUNDERG
	depends on ARCH_MSM7X27
	depends on !MSM_STACKED_MEMORY
	select MACH_LGE
	bool "MSM7x27 THUNDER Global"
	help
	  Support for the LGE MSM7x27 THUNDER Global board.

endmenu

config LGE_SUPPORT_ERS
	tristate "Support LGE ERS system"
	default n
	depends on MACH_LGE
	depends on ANDROID_RAM_CONSOLE
	help
	  LGE error reporting system

config LGE_HANDLE_MODEM_CRASH
	tristate "Support LGE Modem Crash Handler"
	default n
	depends on MACH_LGE
	depends on ANDROID_RAM_CONSOLE
	help
	  LGE modem crash handler

config LGE_HANDLE_PANIC
	tristate "Support LGE Kernel Panic Handler"
	default n
	depends on MACH_LGE
	depends on ANDROID_RAM_CONSOLE
	help
	  LGE kernel panic handler

config LGE_SUPPORT_RAPI
	tristate "Support LGE RAPI"
	default n
	depends on MACH_LGE
	help
	  LGE remote api functions

config LGE_DIAGTEST
	tristate "Support LGE diag test mode"
	default n
	depends on MACH_LGE
	select LGE_SUPPORT_RAPI
	help
	  LGE diag test mode

config LGE_MTD_DIRECT_ACCESS
	tristate "Support LGE mtd direct access apis"
	default n
	depends on MACH_LGE
	help
	  LGE mtd direct access apis

config LGE_HEADSET
	bool

config LGE_HEADSET_ADC
	tristate "LGE GPIO 2 Wire detection driver using ADC"
	default n
	depends on MACH_LGE
	select LGE_HEADSET
	help
	  LGE GPIO 2 Wire detection driver

config LGE_HEADSET_2GPIO
	tristate "LGE GPIO 2 Wire detection driver using 2 GPIO"
	default n
	depends on MACH_LGE
	select LGE_HEADSET
	help
	  LGE GPIO 2 Wire detection driver by using 2 GPIO

config LGE_SWITCH_GPIO
	tristate "LGE GPIO switch driver"
	depends on MACH_LGE
	default n
	help
	  LGE GPIO switch driver 

config LGE_PROC_COMM
	bool "LGE added proc comm"
	depends on MACH_LGE
	default n
	help
	  LGE added proc_comm

config LGE_FUEL_GAUGE
	bool "LGE fuel gauge"
	depends on MACH_LGE
	default n
	help
	  This feature support fuel gauge for msm7K hw

config LGE_UNIFIED_LED
	tristate "LGE unified LED driver"
	depends on MACH_LGE
	default n
	help
	  LGE unified LED driver

config LGE_4G_DDR
	bool "Memory Configuration - 2G/4G DDR RAM "
	depends on MACH_LGE
	default n
	help
	  This patch is used to configure type of Memory
	  Aloha Global use Hynix 4G DDR RAM

config LGE_SUPPORT_AT_CMD
	bool "Support LGE AT_CMD system"
	default n
	depends on MACH_LGE
	help
	 LGE AT_CMD Support

config LGE_ATS_UEVENT_DEVICE
	bool "Support LGE ATS uevent device"
	default n
	depends on MACH_LGE
	help
	 Choose if use ATS_UEVENT device used for sending uevent to user space

config LGE_ATS_INPUT_DEVICE
	bool "Support LGE ATS input device"
	default n
	depends on MACH_LGE
	help
	 Choose if use ATS input device used for generating input event from user space

config LGE_PCB_VERSION
	bool "Support LGE PCB Version RAPI"
	default n 
	depends on MACH_LGE
	help
	  Choose if use PCB Version RAPI

menu "LGE specific patches"
	depends on MACH_LGE

config LGE_TCP_IMPROVEMENT_PATCH
	bool "tcp improvement patch for vs740"
	default n
	help
	  This patch is used to improve tcp performance of vs740 model
	  Disable tcp delayed ack for evdo networks

# LGE_CHANGE [dojip.kim@lge.com] 2010-07-30, sprint
config LGE_TCP_MTU_1472
	bool "tcp mtu patch for sprint"
	default n
	help
	  This patch is used to tcp mtu 1472 for sprint

config LGE_UMS_WORKAROUND_PATCH
	bool "Workaround patch about USB mass storage for vs740"
	default n
	help
	  This patch is used to workaround UMS not working problem of vs740
	  Vs740 had UMS not working problem after composition switching
	  this patch prevents the binding until mass storage thread is killed

config LGE_UMS_PERFORMANCE_PATCH
	bool "Increasing UMS R/W performance patch"
	default n
	help
	  This patch is QCT's patch code for increasing UMS R/W Performance
	  It change maximum interrupt interval from 8 micro-frame to immediate

config LGE_AUDIO_HIDDEN_MENU_TEST_PATCH
	bool "LGE audio hidden menu test patch for vs740"
	default n
	help
	  LGE audio hidden menu test patch for vs740

config LGE_CAMERA_HIDDEN_MENU_TEST_PATCH
	bool "LGE camera hidden menu test patch for vs740"
	default n
	help
	  LGE camera hidden menu test patch for vs740

config LGE_YAFFS_AUTO_CHECKPOINT_PATCH
	bool "LGE yaffs auto checkpoint patch"
	default n
	help
	  set value of yaffs_auto_checkpoint to 2. this patch can decreases 
	  mount time due to scanning all blocks of yaffs partition

config LGE_BRCM_H4_LPM_SUPPORT_PATCH
	bool "LGE brcm's bluetooth lpm patch"
	default n
	help
	  Support brcm's bluetooth LPM requirement

config LGE_MMC_CLEANUP_PATCH
	bool "LGE mmc queue cleanup patch"
	default n
	help
	  This patch is added for prevent kernel panic in case of doing
	  insert/eject repeatedly. this patch are from 2.6.32 mainstream
	  kernel

config LGE_DETECT_PIF_PATCH
	bool "LGE PIF detection capability patch"
	select LGE_PROC_COMM 
	default n
	help
	  This patch is added for detection of pif cable of factory
	  If pif is once detected, that information will be passed through
	  sysfs in battery driver

config LGE_DIAG_WMC
	bool "Support LGE diag WMC"
	default n
	depends on LGE_DIAGTEST
	help
	  LGE diag WMC enable

# LGE_CHANGE [dojip.kim@lge.com] 2010-08-04
config LGE_GET_POWER_ON_STATUS
	bool "LGE Getting Power On Status"
	select LGE_PROC_COMM 
	default n
	help
	  This patch is added for getting the power on status

# LGE_CHANGE [dojip.kim@lge.com] 2010-08-04
config LGE_RAM_CONSOLE_CLEAN
	bool "LGE clean the ram console buffer when normal shutdown"
	depends on ANDROID_RAM_CONSOLE
	default n
	help
	  This patch is to clean the ram console buffer when normal shutdown

# LGE_CHANGE [dojip.kim@lge.com] 2010-08-09
config LGE_THERM_NO_STOP_CHARGING
	bool "LGE no stop charging even if hot or cold battery"
	default n
	help
	  This patch is no stop charging even if hot or cold battery only for testing

# LGE_CHANGE [dojip.kim@lge.com] 2010-08-17
config LGE_RTC_INTF_ALARM_SYNC
	bool "LGE alarm sync (fix the elapsed time)"
	default n
	help
	  This patch is alarm sync to fix the wrong elapsed time 

# LGE_CHANGE [dojip.kim@lge.com] 2010-09-05, avoid the rooting via hotplug
config LGE_BLOCK_HOTPLUG
	bool "LGE block the hotplug"
	default n
	help
	  Android doesn't need a hotplug. So, block the hotplug to avoid the rooting

config LGE_GRAM_REFRESH_PATCH
	bool "LGE gram refresh patch"
	default n
	help
	  This patch is added for gram-embedded device like mddi.
	  because, when suspend state, power of mddi is off usually,
	  gram of DDI chip has garbage data until data of gram is refreshed.
	  this can cause displaying broken screen in time of turning backlight on.
	  for preventing this problem, add refreshing routine before turning 
	  backlight on by using late resume mechanism.

endmenu

endmenu
