config SPRD_COMMON_LOADER
	bool "Spreadtrum SoCs loader support for booting system"
	depends on ARCH_SPRD
	default y

config BOOTLOADER_HWFEATURE
	bool "Spreadtrum SoCs loader support for uboot hwfeature"
	depends on ARCH_SPRD
	default n

config SUPPORT_NR
	bool "Spreadtrum SoCs loader support for NR"
	depends on ARCH_SPRD
	default n

config SUPPORT_AGDSP
	bool "Spreadtrum SoCs loader support for agdsp"
	depends on ARCH_SPRD
	default n

config UBOOT_HWFEATURE_VOL
	bool "uboot hwfeature vol"
	default n

if SPRD_COMMON_LOADER

config SPRD_UID
	bool "Support Sprd UID"
	default n

config GET_CPU_SERIAL_NUMBER_NO_WD
	bool "Support Get Cpu Serial Number"
	default n

config DTS_MEM_LAYOUT
	bool "Support for Spreadtrum memory layout"
	default y

config ARM7_RAM_ACTIVE
	bool "Control if close cp/sp/ch force sleep"
	default n

config SUPPORT_LTE
	bool "Support for the LTE partition table load"
	default n

config ADVANCED_LTE
	bool "Support for the LTE advance partition load"
	depends on SUPPORT_LTE
	default n

config DFS_ENABLE
	bool "Support for the DFS pm_sys load"
	default n

config ERASE_SPL_AUTO_DOWNLOAD
	bool "Support erase spl for autodloader"
	default n

config PMIC_CHIP_ID
	bool "Fixup cp pmic chip id to cp cmdline"
	default y

config MODEM_CALIBERATE
	bool "Support for modem calibrate test"
	default y

config DUAL_DDR
	bool "Support dual ddr for NR_DRAM_BANKS"
	default y

config SPRD_RPMB
	bool "Support sprd rpmb feature"
	default n

config GET_CPU_SERIAL_NUMBER
	bool "Support Sprd get serial number"
	default y

config MEM_LAYOUT_DECOUPLING
	bool "Support Sprd cp memory load"
	default n

config BOARD_KERNEL_CMDLINE
	bool "Support analyze kernel header cmdline"
	default n

config DDR_AUTO_DETECT
	bool "check ddr cs number and size from spl"
	default n

config DAUL_DDR
	bool "define daul ddr bank for gd->bd"
	default n

config KERNEL_BOOT_CP
	bool "boot cp in kernel"
	default y

config DDR_BOOT
	bool "use ddr memory to boot system"
	default y if !MMC && !SCSI && !NAND_BOOT

config UBI_ATTACH_MTD
	bool "use nand flash to boot system"
	default n

config MTD_DEVICE
	bool "use nand flash to boot system"
	default n

config SYS_NAND_SELF_INIT
	bool "use nand flash to boot system"
	default n

config EMMC_BOOT
	bool "use emmc flash to boot system"
	default n

config BLK_DEV_BOOT
	bool "compatible emmc & ufs flash to boot system"
	default n

config SPRD_TIMER
	bool "To use sprd timer config"
	default y if ARCH_SPRD
	help
	  This config to select sprd timer to calculate time.
	  Say y here to enable sprd timer config.

config SPRD_TIMER_CLK
	int "Timer clk div hz"
	default 1000 if ARCH_SPRD
	help
	  This config sprd timer div coefficient to calculate time.

config UFS_LOGICAL_SET
	bool "To use sprd ufs add more luns config"
	default n

config DVFS_ADDR
	hex "hw i2c dvfs addr"
	default 0x0

config DVFS_RX_REG_ADDR
	hex "hw i2c dvfs rx reg addr"
	default 0x0

config DVFS_TX_REG_ADDR
	hex "hw i2c dvfs tx reg addr"
	default 0x0

config SUPPORT_LOWPOWER
	bool "Support Low Power"
	default n

config AON_LPC_EN
	bool "Enable AON Low Power Control"
	default n

config AP_LPC_EN
	bool "Enable AP Low Power Control"
	default n

config DCDCSRAM0_DEEP_DROP_EN
	bool "Enable AP Low Power Control"
	default n

config DCDCPUB_DEEP_DROP_EN
	bool "Enable AP Low Power Control"
	default n

config DCDCCORE_DEEP_DROP_EN
	bool "Enable AP Low Power Control"
	default n

config CP_CMDLINE
	bool "To use cpcmdline config"
	default y

config CLOCK_AUTO_GATE_EN
	bool "Enable Auto Clock Gating"
	default n

config BOARD_ID
	bool "Fixup board id to cp cmdline"
	default y

config BAND_DETECT
	bool "Fixup rf band to cp cmdline"
	default n

config WCN_DETECT
	bool "Fixup wcn crystal to cp cmdline"
	default n

config GET_PCBVERSION
	bool "Fixup pcb version to cp cmdline"
	default n

config GET_MCPTYPE
	bool "Fixup mcp type to cp cmdline"
	default n

config UFS_LOGICAL_SET
	bool "To use sprd ufs add luns config"
	default n if UFS
	help
	  This config to select sprd timer to calculate time.
	  Say y here to enable sprd timer config.

endif

if DDR_BOOT

config DDR_BOOT_BOOTIMAGE_ADR
	hex "Support DDR boot for boot position"
	default 0x9a000000

config DDR_BOOT_BOOTIMAGE_A_ADR
	hex "Support DDR boot for boot_a position"
	default 0x9a000000

config DDR_BOOT_DTBIMAGE_ADR
	hex "Support DDR boot for dtb position"
	default 0x99000000

config DDR_BOOT_DTBOIMAGE_ADR
	hex "Support DDR boot for dtbo position"
	default 0x98000000

config DDR_BOOT_DTBOIMAGE_A_ADR
	hex "Support DDR boot for dtbo_a position"
	default 0x98000000

config DDR_BOOT_AGDSPIMAGE_ADR
	hex "Support DDR boot for agdsp position"
	default 0xa0000000

endif
