diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-10-17 01:55:23 (GMT) |
---|---|---|
committer | Andreas Bießmann <andreas@biessmann.org> | 2016-10-28 16:37:15 (GMT) |
commit | 6f170c4d77381d18e5acee4ba92dfbd10107bc80 (patch) | |
tree | f5d626f642eb00adea54b3f8b76147d4340b3da4 /board/atmel | |
parent | 998cf3c2becb933a87d001c24193911e64dc8b6a (diff) | |
download | u-boot-fsl-qoriq-6f170c4d77381d18e5acee4ba92dfbd10107bc80.tar.xz |
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')
-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 93df7ba..413a000 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) { |