if !ARCH_T9

config TIMER_SOCT_SP804
	bool "Support for huanglong SP804 module"
	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
	select CLKSRC_MMIO
	select CLKSRC_OF if OF

config TIMER_HLFIXTIMER
	bool "Support for fixtimer module"
	depends on ARM_TIMER_SP804 || TIMER_SOCT_SP804
	default y

config MTD_BLOCK_ROMBLOCK
	tristate "Readonly(romblock) block device access to MTD devices"
	depends on BLOCK
	select MTD_BLKDEVS
	default y
	help
	  Same as readonly block driver, but this allow you to mount read-only
	  file systems from an MTD device, containing bad blocks.

endif

config PART_CHANGE
	bool "Support change partition by file '/proc/partchange'"
	default n
	select BLK_CMDLINE_PARSER
	select CMDLINE_PARTITION
	help
	  Support change partition by file '/proc/partchange'


if !ARCH_T9

menu "Huanglong CPU frequency scaling config"

config MICRO_FREQUENCY_UP_THRESHOLD
	int "Micro frequency up threshold"
	default 80

config DEFAULT_GO_HISPEED_LOAD
	int "Default go hispeed load"
	default 80
	help
	  Go to hi speed when CPU load at or above this value.

config DEFAULT_TARGET_LOAD
	int "Default target load"
	default 70
	help
	  Target load, lower values result in higher CPU speeds.

endmenu

config PAGEALLOC_LOCK
	bool "lock page when free page, and unlock page when alloc page"
	default n
	select DEBUG_PAGEALLOC
	help
	  for page alloc debug.

menuconfig SUPPORT_DSP_RUN_MEM
	bool "Support DSP run memory"
	default n
	help
	  Support DSP run memory

config DSP_RUN_MEM_ADDR
	hex "DSP run memory address"
	depends on SUPPORT_DSP_RUN_MEM
	default "0x2000000"
	help
	  The start address of DSP run memory.

config DSP_RUN_MEM_SIZE
	hex "DSP run memory size"
	depends on SUPPORT_DSP_RUN_MEM
	default "0x800000"
	help
	  The size of DSP run memory.

menuconfig SUPPORT_ATF_MEM
	bool "Support reserving arm trusted firmware"
	default n
	help
	  Support arm trusted firmware

config ATF_MEM_ADDR
	hex "arm trusted firmware memory address"
	depends on SUPPORT_ATF_MEM
	default "0x18020000" if ARCH_WUDANGSTICK || ARCH_SHAOLINGUN || ARCH_SHAOLINSPEAR
	help
	  The start address of arm trusted firmware.

config ATF_MEM_SIZE
	hex "arm trusted firmware memory size"
	depends on SUPPORT_ATF_MEM
	default "0x200000"
	help
	  The size of arm trusted firmware memory.

menuconfig SUPPORT_SMCU_MEM
	bool "Support reserving SMCU memory"
	default n
	help
	  Support SMCU memory

config SMCU_MEM_ADDR
	hex "SMCU memory address"
	depends on SUPPORT_SMCU_MEM
	default "0x18000000" if ARCH_WUDANGSTICK || ARCH_SHAOLINGUN || ARCH_SHAOLINSPEAR
	help
	  The start address of arm trusted firmware.

config SMCU_MEM_SIZE
	hex "SMCU memory size"
	depends on SUPPORT_SMCU_MEM
	default "0x10000"
	help
	  The size of SMCU memory.

config SUPPORT_BOOTLOG_RSVD
	bool "Support reserving bootlog memory"
	default n
	help
	  Support bootlog memory

menuconfig SUPPORT_VMCU_RUN_MEM
	bool "Support VDH MCU run memory"
	depends on ARCH_WUDANGSTICK || ARCH_SHAOLINGUN || ARCH_SHAOLINSPEAR
	default n
	help
	  Support VMCU run memory

config VMCU_RUN_MEM_ADDR
	hex "VDH MCU run memory address"
	depends on SUPPORT_VMCU_RUN_MEM
	default "0x22000000"
	help
	  The start address of VMCU run memory.

config VMCU_RUN_MEM_SIZE
	hex "VDH MCU run memory size"
	depends on SUPPORT_VMCU_RUN_MEM
	default "0x4000000"
	help
	  The size of VMCU run memory.

menuconfig SUPPORT_ATF_HRF_MEM
	bool "Support reserving ATF HRF memory"
	depends on ARCH_WUDANGSTICK || ARCH_SHAOLINGUN || ARCH_SHAOLINSPEAR
	default y
	help
	  Support reserving ATF HRF memory

config ATF_HRF_MEM_ADDR
	hex "ATF HRF reserved memory address"
	depends on SUPPORT_ATF_HRF_MEM
	default "0x17F00000"
	help
	  The start address of ATF HRF reserved memory.

config ATF_HRF_MEM_SIZE
	hex "ATF HRF reserved memory size"
	depends on SUPPORT_ATF_HRF_MEM
	default "0x40000"
	help
	  The size of ATF HRF reserved memory.

config ANDROID_LOGGER
	tristate "Android log driver"
	default n
	help
	  This adds support for system-wide logging using four log buffers.

	  These are:

	  1: main
	  2: events
	  3: radio
	  4: system
	  Log reading and writing is performed via normal Linux reads and
	  optimized writes. This optimization avoids logging having too
	  much overhead in the system.

endif
