diff options
author | Mingkai Hu <Mingkai.hu@freescale.com> | 2010-10-12 06:18:31 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-12 23:38:12 -0400 |
commit | b36ece832512c1a0afa54ff0a56d63492a1caf08 (patch) | |
tree | 1c8a35d3dd485eb80a56355b5d5cb3bc4b4b2699 /drivers/spi/Makefile | |
parent | 3272029fb33a88873b9b02224ebeb23bf3a4668e (diff) |
spi/mpc8xxx: refactor the common code for SPI/eSPI controller
Refactor the common code in file spi_fsl_spi.c to spi_fsl_lib.c used
by SPI/eSPI controller driver as a library, and leave the QE/CPM SPI
controller code in the SPI controller driver spi_fsl_spi.c.
Because the register map of the SPI controller and eSPI controller
is so different, also leave the code operated the register to the
driver code, not the common code.
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/Makefile')
-rw-r--r-- | drivers/spi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index c6a56c798823..54bd95d63a59 100644 --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile | |||
@@ -32,6 +32,7 @@ obj-$(CONFIG_SPI_PL022) += amba-pl022.o | |||
32 | obj-$(CONFIG_SPI_MPC512x_PSC) += mpc512x_psc_spi.o | 32 | obj-$(CONFIG_SPI_MPC512x_PSC) += mpc512x_psc_spi.o |
33 | obj-$(CONFIG_SPI_MPC52xx_PSC) += mpc52xx_psc_spi.o | 33 | obj-$(CONFIG_SPI_MPC52xx_PSC) += mpc52xx_psc_spi.o |
34 | obj-$(CONFIG_SPI_MPC52xx) += mpc52xx_spi.o | 34 | obj-$(CONFIG_SPI_MPC52xx) += mpc52xx_spi.o |
35 | obj-$(CONFIG_SPI_FSL_LIB) += spi_fsl_lib.o | ||
35 | obj-$(CONFIG_SPI_FSL_SPI) += spi_fsl_spi.o | 36 | obj-$(CONFIG_SPI_FSL_SPI) += spi_fsl_spi.o |
36 | obj-$(CONFIG_SPI_PPC4xx) += spi_ppc4xx.o | 37 | obj-$(CONFIG_SPI_PPC4xx) += spi_ppc4xx.o |
37 | obj-$(CONFIG_SPI_S3C24XX_GPIO) += spi_s3c24xx_gpio.o | 38 | obj-$(CONFIG_SPI_S3C24XX_GPIO) += spi_s3c24xx_gpio.o |