board: sama5d2_xplained: Move config options to defconfigs

Move the config options from the include/configs/sama5d2_xplained.h
to configs/sama5d2_xplained_*_defconfig.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
This commit is contained in:
Wenyou Yang
2016-10-17 09:55:23 +08:00
committed by Andreas Bießmann
parent 998cf3c2be
commit 6f170c4d77
4 changed files with 62 additions and 27 deletions

View File

@@ -25,10 +25,12 @@
DECLARE_GLOBAL_DATA_PTR;
#ifndef CONFIG_DM_SPI
int spi_cs_is_valid(unsigned int bus, unsigned int cs)
{
return bus == 0 && cs == 0;
}
#endif
void spi_cs_activate(struct spi_slave *slave)
{