diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2017-04-18 14:54:51 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-09 12:14:15 -0600 |
commit | 0ab5433da27005d50e186618eef5c91a81cd300d (patch) | |
tree | 777207210c26802ffcee4c91acdeb77cdf7bd96c /board/atmel/at91sam9n12ek | |
parent | 9daf89cb682bfa2aac037b7fa425eab7ad67b9b9 (diff) |
configs: at91sam9n12ek: Update for DT and DM support
Update the configuration files to support the device tree and driver
model. The device clock and pins configuration are handled by the
clock and the pinctrl drivers respectively.
Because the limitation of internal SRAM size, the SPL with driver
model can't be supported, disable the SPL option.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/atmel/at91sam9n12ek')
-rw-r--r-- | board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atmel/at91sam9n12ek/at91sam9n12ek.c b/board/atmel/at91sam9n12ek/at91sam9n12ek.c index 58da2d27f8..e3f9cbbe50 100644 --- a/board/atmel/at91sam9n12ek/at91sam9n12ek.c +++ b/board/atmel/at91sam9n12ek/at91sam9n12ek.c @@ -133,6 +133,7 @@ void lcd_show_board_info(void) #endif /* CONFIG_LCD */ /* SPI chip select control */ +#ifndef CONFIG_DM_SPI #ifdef CONFIG_ATMEL_SPI #include <spi.h> int spi_cs_is_valid(unsigned int bus, unsigned int cs) @@ -164,6 +165,7 @@ void spi_cs_deactivate(struct spi_slave *slave) } } #endif /* CONFIG_ATMEL_SPI */ +#endif #ifdef CONFIG_GENERIC_ATMEL_MCI int board_mmc_init(bd_t *bd) |