aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWenyou Yang2017-04-18 14:51:54 +0800
committerSimon Glass2017-05-09 12:14:15 -0600
commit74631b69d6658738e2bbb39f896d622144f4c654 (patch)
tree139bd63e4b5ad04082119ccf4284b02c28d166a6 /board
parent6cb2a7fe81c024fe88ea5e83927c1cc2ff26ee59 (diff)
configs: at91sam9x5ek: Update to support DM/DT
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')
-rw-r--r--board/atmel/at91sam9x5ek/at91sam9x5ek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
index cc81776f9be..0ae42dd1581 100644
--- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c
+++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
@@ -205,6 +205,7 @@ void lcd_show_board_info(void)
#endif /* CONFIG_LCD_INFO */
#endif /* CONFIG_LCD */
+#ifndef CONFIG_DM_SPI
/* SPI chip select control */
#ifdef CONFIG_ATMEL_SPI
int spi_cs_is_valid(unsigned int bus, unsigned int cs)
@@ -238,6 +239,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)