ReonV/lib/gaisler/spi/spimctrl.in

13 lines
681 B
Text

mainmenu_option next_comment
comment 'SPI memory controller '
bool 'Enable SPI memory controller ' CONFIG_SPIMCTRL
if [ "$CONFIG_SPIMCTRL" = "y" ]; then
hex 'Read instruction ' CONFIG_SPIMCTRL_READCMD 0B
bool 'Read instruction requires dummy byte ' CONFIG_SPIMCTRL_DUMMYBYTE
bool 'Enable dual output for reads ' CONFIG_SPIMCTRL_DUALOUTPUT
hex 'Address offset ' CONFIG_SPIMCTRL_OFFSET 0
int 'Clock divisor for device clock' CONFIG_SPIMCTRL_SCALER 1
int 'Clock divisor for alt. device clock' CONFIG_SPIMCTRL_ASCALER 8
int 'Number of clock cycles to idle after power up ' CONFIG_SPIMCTRL_PWRUPCNT 0
fi
endmenu