Commit 08afabc157de51d76c313a2b2606384a3d94f0a6
Committed by
Tom Rini
1 parent
9bf48e2ee8
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
at91: gurnard: Enable DM_SPI
Enable DM_SPI for atmel SPI driver on gurnard board. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Showing 2 changed files with 1 additions and 20 deletions Side-by-side Diff
arch/arm/mach-at91/Kconfig
board/bluewater/gurnard/gurnard.c
... | ... | @@ -18,7 +18,6 @@ |
18 | 18 | #ifndef CONFIG_DM_ETH |
19 | 19 | #include <netdev.h> |
20 | 20 | #endif |
21 | -#include <spi.h> | |
22 | 21 | #include <asm/gpio.h> |
23 | 22 | #include <asm/io.h> |
24 | 23 | #include <asm/mach-types.h> |
... | ... | @@ -414,25 +413,6 @@ |
414 | 413 | void reset_phy(void) |
415 | 414 | { |
416 | 415 | } |
417 | - | |
418 | -/* SPI chip select control - only used for FPGA programming */ | |
419 | -#ifdef CONFIG_ATMEL_SPI | |
420 | - | |
421 | -int spi_cs_is_valid(unsigned int bus, unsigned int cs) | |
422 | -{ | |
423 | - return bus == 0 && cs == 0; | |
424 | -} | |
425 | - | |
426 | -void spi_cs_activate(struct spi_slave *slave) | |
427 | -{ | |
428 | - /* We don't use chipselects for FPGA programming */ | |
429 | -} | |
430 | - | |
431 | -void spi_cs_deactivate(struct spi_slave *slave) | |
432 | -{ | |
433 | - /* We don't use chipselects for FPGA programming */ | |
434 | -} | |
435 | -#endif /* CONFIG_ATMEL_SPI */ | |
436 | 416 | |
437 | 417 | static struct atmel_serial_platdata at91sam9260_serial_plat = { |
438 | 418 | .base_addr = ATMEL_BASE_DBGU, |