summaryrefslogtreecommitdiff
path: root/board/bluewater
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-03-14 18:46:32 +0530
committerTom Rini <trini@konsulko.com>2018-04-06 16:11:09 -0400
commit08afabc157de51d76c313a2b2606384a3d94f0a6 (patch)
tree62444025055ed777f21cc01d921acbcca57591bc /board/bluewater
parent9bf48e2ee8a0174adfb0f18d110198e4ca042284 (diff)
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>
Diffstat (limited to 'board/bluewater')
-rw-r--r--board/bluewater/gurnard/gurnard.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/board/bluewater/gurnard/gurnard.c b/board/bluewater/gurnard/gurnard.c
index 8733a9af16..d8e92b1196 100644
--- a/board/bluewater/gurnard/gurnard.c
+++ b/board/bluewater/gurnard/gurnard.c
@@ -18,7 +18,6 @@
#ifndef CONFIG_DM_ETH
#include <netdev.h>
#endif
-#include <spi.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <asm/mach-types.h>
@@ -415,25 +414,6 @@ void reset_phy(void)
{
}
-/* SPI chip select control - only used for FPGA programming */
-#ifdef CONFIG_ATMEL_SPI
-
-int spi_cs_is_valid(unsigned int bus, unsigned int cs)
-{
- return bus == 0 && cs == 0;
-}
-
-void spi_cs_activate(struct spi_slave *slave)
-{
- /* We don't use chipselects for FPGA programming */
-}
-
-void spi_cs_deactivate(struct spi_slave *slave)
-{
- /* We don't use chipselects for FPGA programming */
-}
-#endif /* CONFIG_ATMEL_SPI */
-
static struct atmel_serial_platdata at91sam9260_serial_plat = {
.base_addr = ATMEL_BASE_DBGU,
};