menu "Elvees Multicore platform options" depends on MULTICORE choice prompt "Subplatform" default NVCOM01 config NVCOM01 bool "NVCom evaluation board" config MC24M bool "MC24M evaluation board" config MC24R2 bool "MC24R2 evaluation board" # config MCT02R # bool "MCT02R evaluation board" config MCT03P bool "MCT03P evaluation board" config MC30SF6 bool "MC30SF6 evaluation board" config MCT04 bool "MCT04 evaluation board" config MCT06 bool "MCT06 evaluation board" config MC0428 bool "MC0428 evaluation board" endchoice if NVCOM01 config NVCOM01M bool "NVCom-02T" default n endif config MULTICORE_MEMORY int "Amount of onboard memory to configure, in megabytes" default 64 config MULTICORE_CLOCKFREQ int "Base clock frequency, pre-multiplier, in MHz" # range 5 5 if NVCOM01 default 5 config MULTICORE_NO_FM_CACHE bool "Disable both instruction and data caches in FM mode (during startup)" default y config MULTICORE_NO_TLB_CACHE bool "Disable both instruction and data caches in TLB mode" default y config MULTICORE_NO_TLB_GLOBAL bool "Disable global bit in TLB mode" default n config MULTICORE_WRONG_TLB_REFILL bool "Check presence virtual page before tlb refill" default y config MULTICORE_EXCEPTION_CACHE_FLUSH bool "Flush instruction and data cache in exception handler(fix same cache error)" default y config MULTICORE_DELAY_SLOT_WAR bool "Delay slot problem workaround" default n config MULTICORE_EXCEPTION_FROM_CRAM bool "Move exception handler to cram(b8000000)" default n config MULTICORE_POWER_SAVE bool "Use power save feature" default n config MULTICORE_GPIO bool "General purpose input/output" default n config MULTICORE_I2C bool "I2C" default n menu "I2C options" depends on MULTICORE_I2C config MULTICORE_I2C_SPEED int "I2C speed (in Kbit/s)" default 100 endmenu config MULTICORE_MFBSP bool "Multifunctional buffered serial port (MFBSP)" default n menu "MFSBP options" depends on MULTICORE_MFBSP choice prompt "MFBSP0 function" default MULTICORE_MFBSP0_NONE config MULTICORE_MFBSP0_NONE bool "None" config MULTICORE_MFBSP0_SPI bool "SPI" select MULTICORE_SPI config MULTICORE_MFBSP0_LPORT bool "LPORT" select MULTICORE_LPORT config MULTICORE_MFBSP0_I2S bool "I2S" select MULTICORE_I2S endchoice if !MCT04 choice prompt "MFBSP1 function" default MULTICORE_MFBSP1_NONE config MULTICORE_MFBSP1_NONE bool "None" config MULTICORE_MFBSP1_SPI bool "SPI" select MULTICORE_SPI config MULTICORE_MFBSP1_LPORT bool "LPORT" select MULTICORE_LPORT config MULTICORE_MFBSP1_I2S bool "I2S" select MULTICORE_I2S endchoice if !MCT06 choice prompt "MFBSP2 function" default MULTICORE_MFBSP2_NONE config MULTICORE_MFBSP2_NONE bool "None" config MULTICORE_MFBSP2_SPI bool "SPI" select MULTICORE_SPI config MULTICORE_MFBSP2_LPORT bool "LPORT" select MULTICORE_LPORT config MULTICORE_MFBSP2_I2S bool "I2S" select MULTICORE_I2S endchoice choice prompt "MFBSP3 function" default MULTICORE_MFBSP3_NONE config MULTICORE_MFBSP3_NONE bool "None" config MULTICORE_MFBSP3_SPI bool "SPI" select MULTICORE_SPI config MULTICORE_MFBSP3_LPORT bool "LPORT" select MULTICORE_LPORT config MULTICORE_MFBSP3_I2S bool "I2S" select MULTICORE_I2S endchoice endif endif config MULTICORE_SPI bool "MFBSP SPI Mode Driver" default n menu "SPI options" depends on MULTICORE_SPI config MULTICORE_SPI_DMA bool "Use DMA" default y config MULTICORE_SPI_DMA_BUFSZ depends on MULTICORE_SPI_DMA int "Size of DMA buffers (in bytes)" default 65536 menu "MFBSP0 SPI options" depends on MULTICORE_MFBSP0_SPI config MULTICORE_SPI0_MOSI_OUT bool "Pin MOSI is output" default y config MULTICORE_SPI0_MISO_OUT bool "Pin MISO is output" default n config MULTICORE_SPI0_SS0_OUT bool "Pin SS[0] is output" default y config MULTICORE_SPI0_SS1_OUT bool "Pin SS[1] is output" default y config MULTICORE_SPI0_TSCK_OUT bool "Pin TSCK is output" default y config MULTICORE_SPI0_RSCK_OUT bool "Pin RSCK is output" default n endmenu menu "MFBSP1 SPI options" depends on MULTICORE_MFBSP1_SPI config MULTICORE_SPI1_MOSI_OUT bool "Pin MOSI is output" default y config MULTICORE_SPI1_MISO_OUT bool "Pin MISO is output" default n config MULTICORE_SPI1_SS0_OUT bool "Pin SS[0] is output" default y config MULTICORE_SPI1_SS1_OUT bool "Pin SS[1] is output" default y config MULTICORE_SPI1_TSCK_OUT bool "Pin TSCK is output" default y config MULTICORE_SPI1_RSCK_OUT bool "Pin RSCK is output" default n endmenu menu "MFBSP2 SPI options" depends on MULTICORE_MFBSP2_SPI config MULTICORE_SPI2_MOSI_OUT bool "Pin MOSI is output" default y config MULTICORE_SPI2_MISO_OUT bool "Pin MISO is output" default n config MULTICORE_SPI2_SS0_OUT bool "Pin SS[0] is output" default y config MULTICORE_SPI2_SS1_OUT bool "Pin SS[1] is output" default y config MULTICORE_SPI2_TSCK_OUT bool "Pin TSCK is output" default y config MULTICORE_SPI2_RSCK_OUT bool "Pin RSCK is output" default n endmenu menu "MFBSP3 SPI options" depends on MULTICORE_MFBSP3_SPI config MULTICORE_SPI3_MOSI_OUT bool "Pin MOSI is output" default y config MULTICORE_SPI3_MISO_OUT bool "Pin MISO is output" default n config MULTICORE_SPI3_SS0_OUT bool "Pin SS[0] is output" default y config MULTICORE_SPI3_SS1_OUT bool "Pin SS[1] is output" default y config MULTICORE_SPI3_TSCK_OUT bool "Pin TSCK is output" default y config MULTICORE_SPI3_RSCK_OUT bool "Pin RSCK is output" default n endmenu endmenu config MULTICORE_LPORT bool "MFBSP Link Port Mode Driver" default n menu "Link Port options" depends on MULTICORE_LPORT config MULTICORE_LPORT_BUFSZ int "DMA buffer size" default 32768 endmenu config MULTICORE_I2S bool "MFBSP I2S Mode Driver" default n endmenu if NVCOM01 || MC30SF6 || MCT06 || MC0428 config MULTICORE_ETH bool "On-chip Ethernet controller" default n config MULTICORE_NEW_ETH_DRV bool "Use new ethernet driver (EXPERIMENTAL)" depends on MULTICORE_ETH default n endif menu "Ethernet options" depends on MULTICORE_ETH config MULTICORE_ETH_NAPI bool "Use NAPI (EXPERIMENTAL)" default n config MULTICORE_ETH_TXBUF_SIZE int "Size of TX buffer" default 2048 config MULTICORE_ETH_TXBUF_CRAM bool "Move TX buffer to CRAM" default n if MULTICORE_ETH_TXBUF_CRAM config MULTICORE_ETH_TXBUF_ADDR hex "Address for TX buffer in CRAM" default 0xb8018000 endif endmenu menu "Spacewire" depends on MC24R2 || MCT03P || MCT04 || MC30SF6 || MCT06 || MC0428 choice prompt "On-chip Spacewire controller type" config MULTICORE_SPW bool "SWIC" depends on MC24R2 || MCT03P || MCT04 || MC30SF6 || MCT06 || MC0428 # default y config MULTICORE_GSPW_SWITCH bool "GSPW_SWITCH" depends on MC30SF6 # default n endchoice menu "Spacewire options" depends on MULTICORE_SPW choice prompt "Type of Spacewire" default MULTICORE_SWIC_TYPE_CHAR config MULTICORE_SWIC_TYPE_CHAR bool "Character" config MULTICORE_SWIC_TYPE_NET bool "Network" endchoice config MULTICORE_SWIC_START_SPEED int "Start speed, Mbit/sec" default 10 config MULTICORE_SWIC_DEF_WORK_SPEED int "Default working speed, Mbit/sec" default 10 endmenu endmenu menu "GigaSpacewire Switch options" depends on MULTICORE_GSPW_SWITCH choice prompt "Type of GigaSpacewire driver" default MULTICORE_GSPW_SW_TYPE_CHAR config MULTICORE_GSPW_SW_TYPE_CHAR bool "Character" config MULTICORE_GSPW_SW_TYPE_NET bool "Network" endchoice config MULTICORE_GSPW_SW_START_SPEED int "Start speed, Mbit/sec" default 10 config MULTICORE_GSPW_SW_DEF_WORK_SPEED int "Default working speed, Mbit/sec" default 10 endmenu if !MCT04 config MULTICORE_DSP bool "Access to DSP cores" default n select UIO select UIO_PDRV_GENIRQ endif config MULTICORE_DSP_FREQ int "DSP clock frequency, in MHz" depends on MULTICORE_DSP default 100 menu "Peripherals" config MULTICORE_M25P16 bool "M25P16" default n menu "M25P16 Options" depends on MULTICORE_M25P16 config MULTICORE_M25P16_HZ int "SPI frequency" default 25000000 config MULTICORE_M25P16_MFBSP_PORT int "MFBSP port" default 0 config MULTICORE_M25P16_CHIPSELECT int "Chipselect line (0 or 1)" default 0 endmenu config MULTICORE_MMC bool "SPI MMC" default n menu "SPI MMC Options" depends on MULTICORE_MMC config MULTICORE_MMC_HZ int "SPI frequency" default 50000000 config MULTICORE_MMC_MFBSP_PORT int "MFBSP port" default 0 config MULTICORE_MMC_CHIPSELECT int "Chipselect line (0 or 1)" default 0 endmenu config MULTICORE_DATAFLASH bool "DataFlash (eg. AT45BDxx)" default n menu "DataFlash Options" depends on MULTICORE_DATAFLASH config MULTICORE_DATAFLASH_HZ int "SPI frequency" default 40000000 config MULTICORE_DATAFLASH_MFBSP_PORT int "MFBSP port" default 0 config MULTICORE_DATAFLASH_CHIPSELECT int "Chipselect line (0 or 1)" default 0 endmenu config MULTICORE_24C04 bool "24c04" default n config MULTICORE_24C04_ADDR depends on MULTICORE_24C04 hex "24c04 I2C address" default 50 config USB_MAX3421_HCD bool "MAX3421 USB-host" default n select USB_ARCH_HAS_EHCI endmenu if MCT04 config MULTICORE_NAND_FLASH bool "On-chip NAND Flash controller" default y config MULTICORE_MAILBOX bool "Mailbox module" default y config MULTICORE_SPINLOCK bool "Spinlock module" default y endif endmenu