提交 d4003ba0 编写于 作者: K Kristoffer Nyborg Gregertsen 提交者: Haavard Skinnemoen

[AVR32] Don't wire up macb0 unless SW6 is in default position

If the user wants to sacrifice macb0 for more GPIOs, let him.
Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
上级 95a42267
......@@ -154,8 +154,9 @@ static int __init atstk1002_init(void)
#endif
at32_add_device_usart(2);
#ifndef CONFIG_BOARD_ATSTK1002_SW6_CUSTOM
set_hw_addr(at32_add_device_eth(0, &eth_data[0]));
#endif
#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM
at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册