config.in

来自「一个非常有用的SPI驱动程序,是在LINUX平台下的,但也可以一直到其他平台」· IN 代码 · 共 50 行

IN
50
字号
#
# MPC8260 Communication options
#
mainmenu_option next_comment
comment 'MPC8260 CPM Options'

if [ "$CONFIG_NET_ETHERNET" = "y" ]; then
  mainmenu_option next_comment
  comment 'MPC8260 Communication Options'
  bool 'CPM SCC Ethernet' CONFIG_SCC_ENET
  if [ "$CONFIG_SCC_ENET" = "y" ]; then
    choice 'SCC used for Ethernet'	\
  	"SCC1	CONFIG_SCC1_ENET	\
	 SCC2	CONFIG_SCC2_ENET	\
	 SCC3	CONFIG_SCC3_ENET"	SCC1
  else
    define_bool CONFIG_SCC1_ENET n
    define_bool CONFIG_SCC2_ENET n
    define_bool CONFIG_SCC3_ENET n
  fi
#
#  CONFIG_FCC_ENET is only used to get netdevices to call our init
#    function.  Any combination of FCC1,2,3 are supported.
#
  bool 'FCC Ethernet' CONFIG_FCC_ENET
  if [ "$CONFIG_FCC_ENET" = "y" ]; then
    bool 'Ethernet on FCC1' CONFIG_FCC1_ENET
    if [ "$CONFIG_PM826" = "y" ]; then
      bool '  DB CR826 Legacy Jumper ON' CONFIG_DB_CR826_J30x_ON
    fi
    bool 'Ethernet on FCC2' CONFIG_FCC2_ENET
    bool 'Ethernet on FCC3' CONFIG_FCC3_ENET
    bool 'Use MDIO for PHY configuration' CONFIG_USE_MDIO
    bool 'Support AMD79C873 PHY' CONFIG_FCC_AMD79C873
    bool 'Support LXT970    PHY' CONFIG_FCC_LXT970
    bool 'Support LXT971    PHY' CONFIG_FCC_LXT971
    bool 'Support QS6612    PHY' CONFIG_FCC_QS6612
  fi
  endmenu
fi

bool 'Simple CPM SPI Support' CONFIG_CPM_SPI
if [ "$CONFIG_CPM_SPI" = "y" -o "$CONFIG_CPM_SPI" = "m" ]; then
  int 'Size of Rx/Tx Buffer for SPI' CONFIG_CPM_SPI_BDSIZE 16
fi

comment 'Generic MPC82xx Options'
bool 'Disable data cache' CONFIG_DCACHE_DISABLE
endmenu

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?