if ARCH_PNX8181

menu "PNX8181 Options"

choice
	prompt	"HW Model"
	default HW_MODEL_GXP2120

config HW_MODEL_GXP2124
    bool "GXP2124"
    select GS_PHONE
    select GS_FLASHFS_SUPPORTED

config HW_MODEL_GXP2120
    bool "GXP2120"
    select GS_PHONE
    select GS_AUX

config HW_MODEL_GXP2100
    bool "GXP2100"
    select GS_PHONE
    select GS_AUX

config HW_MODEL_GXP2100V2
    bool "GXP2100V2"
    select 8185
    select GS_PHONE
    select GS_AUX

config HW_MODEL_GXP2110
    bool "GXP2110"
    select GS_PHONE
    select GS_AUX

config HW_MODEL_GXP1450
    bool "GXP1450"
    select 8185
    select GS_PHONE
    select GS_SPI

config HW_MODEL_GXP1400
    bool "GXP1400"
    select 8185
    select GS_PHONE
    select GS_SPI

config HW_MODEL_GXP1100
    bool "GXP1100"
    select 8185
    select GS_PHONE
    select GS_SPI

config HW_MODEL_GXP1150
    bool "GXP1150"
    select 8185
    select GS_PHONE
    select GS_SPI

config HW_MODEL_GXP2200EXT
    bool "GXP2200EXT"
    select 8185
    select GS_PHONE
    select GS_SPI

config HW_MODEL_HT702
    bool "HT702"
    select 8185
    select GS_ATA
    select GS_SPI

config HW_MODEL_DP715
    bool "DP715"
    select 8185
    select GS_SPI
    select GS_DECT

endchoice

config DSPG_EVM
        bool "DSPG_EVM"

config 8185
	bool "8185"

config GS_ATA
        bool "GS ATA"
        select KERNEL_LZMA

config GS_DECT
    bool "GS_DECT"
    select KERNEL_LZMA

config GS_SPI
        bool "GS SPI"

config GS_PHONE
        bool "GS PHONE"
        select KERNEL_LZMA

config GS_AUX
        bool "GS AUX Partition"

config OEM_HUAWEI
    bool "Huawei OEM"

config GRANDSTREAM_ATE
	bool "Grandstream ATE"
	help
	  Enable ATE build

config COMPRESSED_SWAP
	bool "LZO Compressed swap support"
	default n
	depends on HW_MODEL_HT702
	help
	This project creates RAM based block device (named ramzswap) which acts as swap disk.
	Pages swapped to this disk are compressed and stored in memory itself.

choice
        prompt "Swap size in kb"
	depends on COMPRESSED_SWAP
        default 1024
        help
          Amount of compressed swap. This will not be part of the system memory

config COMPRESSED_SWAP_SIZE_1024
        bool "1024"

config COMPRESSED_SWAP_SIZE_2048
        bool "2048"

endchoice


config KERNEL_LZMA
        bool "LZMA Decompressor for kernel image"

config ARCH_PNX8181_DBGPRINTK
	bool "Early debug printk"
	help
	  This enables early uart console output.

config ARCH_PNX8181_LOADSIM
	bool "FIQ load simulation"
	select FIQ
	help
	  Simulates FIQ load on the system using the FSI interrupt.

config ARCH_PNX8181_LOADSIM_TIMINGS
	bool "Enable timings"
	default n
	depends on ARCH_PNX8181_LOADSIM
	help
	  Gathers some timing information, similar to a performance counter.
	  Only useful if you're using a (hardware-)debugger.

choice
	prompt "External Interrupt SC IRQ"
	default ARCH_PNX8181_EXTINT_IRQ3
	help
	  Select which CPU Interrupt should be used for the external interrupt
	  controller. All external sources will be mapped to this IRQ and handled
	  by the irq-ext module
	  .
	  If unsure use EXTINT_IRQ3

config ARCH_PNX8181_EXTINT_IRQ1
	bool "EXTINT_IRQ1"

config ARCH_PNX8181_EXTINT_IRQ2
	bool "EXTINT_IRQ2"

config ARCH_PNX8181_EXTINT_IRQ3
	bool "EXTINT_IRQ3"

endchoice

config ARCH_PNX8181_EXTINT_BASE
	int "Base of the virtual EXTINT IRQs"
	default 100
	help
	  The external sources are mapped to a non CPU Interrupt vector of the Linux
	  Kernel. This is the base of these Interrupts. You must not use a number
	  which overruns the NR_IRQS defined for your architecture.
	  .
	  If unsure set 100

config ARCH_PNX8181_CRASH_LOG_ON_FLASH
	bool "Enable crash log on flash"
	default n
	help
	  Store recent printk-output on NOR flash in case of a kernel panic

config ARCH_PNX8181_CRASH_LOG_PARTITION
	int "Number of MTD partition to store kernel crash log"
	default 2
	depends on ARCH_PNX8181_CRASH_LOG_ON_FLASH
	help
	  This enables early uart console output.


endmenu

endif
