--- zzzz-none-000/linux-2.6.39.4/drivers/spi/Makefile 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/drivers/spi/Makefile 2021-11-10 13:23:10.000000000 +0000 @@ -11,6 +11,7 @@ # SPI master controller drivers (bus) obj-$(CONFIG_SPI_ALTERA) += spi_altera.o obj-$(CONFIG_SPI_ATMEL) += atmel_spi.o +obj-$(CONFIG_SPI_CE5XX_SPI_FLASH) += ce5xx_spi_flash.o obj-$(CONFIG_SPI_ATH79) += ath79_spi.o obj-$(CONFIG_SPI_BFIN) += spi_bfin5xx.o obj-$(CONFIG_SPI_BITBANG) += spi_bitbang.o @@ -28,6 +29,7 @@ obj-$(CONFIG_SPI_LM70_LLP) += spi_lm70llp.o obj-$(CONFIG_SPI_PXA2XX) += pxa2xx_spi.o obj-$(CONFIG_SPI_PXA2XX_PCI) += pxa2xx_spi_pci.o +obj-$(CONFIG_SPI_CE5XX_SPI_SLAVE) += ce5xx_spi_slv.o obj-$(CONFIG_SPI_OC_TINY) += spi_oc_tiny.o obj-$(CONFIG_SPI_OMAP_UWIRE) += omap_uwire.o obj-$(CONFIG_SPI_OMAP24XX) += omap2_mcspi.o @@ -59,6 +61,17 @@ spi_s3c24xx_hw-y := spi_s3c24xx.o spi_s3c24xx_hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi_s3c24xx_fiq.o + +obj-$(CONFIG_ARM_AVALANCHE_SPI) += avalanche_spi_bitbang.o +ifeq ($(CONFIG_MACH_PUMA5),y) +obj-$(CONFIG_ARM_AVALANCHE_SPI) += avalanche_spi_master.o +endif +ifeq ($(CONFIG_MACH_PUMA6),y) +obj-$(CONFIG_ARM_AVALANCHE_SPI) += avalanche_spi_master_puma6.o +endif +obj-$(CONFIG_SPI_TI_CODEC) += spi_ticodec.o + + # ... add above this line ... # SPI protocol drivers (device/link on bus)