diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-20 15:06:35 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-27 21:06:53 +0530 |
commit | e2cae514725568bb4d3f8588c816f6ca521fa68f (patch) | |
tree | a10388f8e936631547326e138490c2590b7a76ed /drivers/spi/fsl_dspi.c | |
parent | 3ae6030cf9587d310ee9cb8c3b17e9a8693f7636 (diff) | |
download | u-boot-e2cae514725568bb4d3f8588c816f6ca521fa68f.tar.gz |
spi: Remove unused spi_init
Remove spi_init definition which never used on
respective code since from many years.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/spi/fsl_dspi.c')
-rw-r--r-- | drivers/spi/fsl_dspi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index f7ed8fbe08..764c94215e 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -390,11 +390,6 @@ static int fsl_dspi_cfg_speed(struct fsl_dspi_priv *priv, uint speed) return 0; } #ifndef CONFIG_DM_SPI -void spi_init(void) -{ - /* Nothing to do */ -} - int spi_cs_is_valid(unsigned int bus, unsigned int cs) { if (((cs >= 0) && (cs < 8)) && ((bus >= 0) && (bus < 8))) |