summaryrefslogtreecommitdiff
path: root/include/configs/sacsng.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:41:59 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:48 -0600
commit44ba6b0eccb37dd98becece22632bcc5e5cd2fbe (patch)
treef44659cc8988e72628d41f8c750a3998d819c964 /include/configs/sacsng.h
parenta666f39e4edc2eb6296d7401aab2706d6ae7f459 (diff)
dm: spi: Remove SPI_INIT feature
This feature provides for init of a single SPI port for the soft SPI feature. It is not really compatible with driver model since it assumes a single SPI port. Also, inserting SPI init into the driver by means of a #define is not very nice. This feature is not used by any active boards, so let's remove it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include/configs/sacsng.h')
-rw-r--r--include/configs/sacsng.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/sacsng.h b/include/configs/sacsng.h
index b5064ab37c..2dee315f91 100644
--- a/include/configs/sacsng.h
+++ b/include/configs/sacsng.h
@@ -259,7 +259,6 @@
#define I2C_MOSI 0x00004000 /* PD 17: Master Out, Slave In */
#define I2C_MISO 0x00008000 /* PD 16: Master In, Slave Out */
-#undef SPI_INIT /* no port initialization needed */
#define SPI_READ ((immr->im_ioport.iop_pdatd & I2C_MISO) != 0)
#define SPI_SDA(bit) do { \
if(bit) immr->im_ioport.iop_pdatd |= I2C_MOSI; \