summaryrefslogtreecommitdiffstats
path: root/board/atmel/sama5d2_xplained
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2016-10-17 09:55:23 +0800
committerAndreas Bießmann <andreas@biessmann.org>2016-10-28 18:37:15 +0200
commit6f170c4d77381d18e5acee4ba92dfbd10107bc80 (patch)
treef5d626f642eb00adea54b3f8b76147d4340b3da4 /board/atmel/sama5d2_xplained
parent998cf3c2becb933a87d001c24193911e64dc8b6a (diff)
downloadu-boot-6f170c4d77381d18e5acee4ba92dfbd10107bc80.tar.gz
u-boot-6f170c4d77381d18e5acee4ba92dfbd10107bc80.tar.xz
u-boot-6f170c4d77381d18e5acee4ba92dfbd10107bc80.zip
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>
Diffstat (limited to 'board/atmel/sama5d2_xplained')
-rw-r--r--board/atmel/sama5d2_xplained/sama5d2_xplained.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b/board/atmel/sama5d2_xplained/sama5d2_xplained.c
index 93df7ba32a..413a000d22 100644
--- a/board/atmel/sama5d2_xplained/sama5d2_xplained.c
+++ b/board/atmel/sama5d2_xplained/sama5d2_xplained.c
@@ -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)
{