diff options
author | Wenyou Yang | 2016-10-17 09:55:23 +0800 |
---|---|---|
committer | Andreas Bießmann | 2016-10-28 18:37:15 +0200 |
commit | 6f170c4d77381d18e5acee4ba92dfbd10107bc80 (patch) | |
tree | f5d626f642eb00adea54b3f8b76147d4340b3da4 /board | |
parent | 998cf3c2becb933a87d001c24193911e64dc8b6a (diff) |
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')
-rw-r--r-- | board/atmel/sama5d2_xplained/sama5d2_xplained.c | 2 |
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 93df7ba32a8..413a000d227 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) { |