Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: fsl-espi: separate fsl-espi from fsl-lib completely

After having removed all code dependencies we can make fsl-espi
completely independent of fsl-lib now.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Heiner Kallweit and committed by
Mark Brown
278c48d2 35ab046b

-10
-1
drivers/spi/Kconfig
··· 373 373 config SPI_FSL_ESPI 374 374 tristate "Freescale eSPI controller" 375 375 depends on FSL_SOC 376 - select SPI_FSL_LIB 377 376 help 378 377 This enables using the Freescale eSPI controllers in master mode. 379 378 From MPC8536, 85xx platform uses the controller, and all P10xx,
-2
drivers/spi/spi-fsl-espi.c
··· 23 23 #include <linux/pm_runtime.h> 24 24 #include <sysdev/fsl_soc.h> 25 25 26 - #include "spi-fsl-lib.h" 27 - 28 26 /* eSPI Controller registers */ 29 27 #define ESPI_SPMODE 0x00 /* eSPI mode register */ 30 28 #define ESPI_SPIE 0x04 /* eSPI event register */
-7
drivers/spi/spi-fsl-lib.h
··· 28 28 /* rx & tx bufs from the spi_transfer */ 29 29 const void *tx; 30 30 void *rx; 31 - #if IS_ENABLED(CONFIG_SPI_FSL_ESPI) 32 - unsigned int rx_len; 33 - unsigned int tx_len; 34 - unsigned int rxskip; 35 - u8 *local_buf; 36 - spinlock_t lock; 37 - #endif 38 31 39 32 int subblock; 40 33 struct spi_pram __iomem *pram;