  mainmenu_option next_comment
  comment 'SPI memory controller '
    bool 'Enable SPI memory controller    ' CONFIG_SPIMCTRL
    if [ "$CONFIG_SPIMCTRL" = "y" ]; then
      bool 'Enable SD card support    ' CONFIG_SPIMCTRL_SDCARD
      if [ "$CONFIG_SPIMCTRL_SDCARD" != "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
      fi
      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
