OMAP3: SPI driver
PATCH 1/1 OMAP3: SPI driver
CC Ruslan N. Araslanov <[email protected]>
Signed-off-by Ruslan Araslanov <[email protected]>
---
I got this patch in a private mail from Ruslan with the comment:
"I have some changes in this driver. It works with SPI flash memory and with other devices."
He seems to be too shy to send it himself (?) So I just send it, maybe it's useful for somebody.
If you like to comment on this patch, please send comments or questions directly to Ruslan.
Note: Checkpatch still complains about some lines over 80 characters.
I think this is acceptable, fixing this would make the style even worse.
Thanks
Dirk
drivers/spi/Makefile | 1 drivers/spi/omap3_spi.c | 352 +++++++++++++++++++++++++++++++++++++++++ drivers/spi/omap3_spi.h | 117 +++++++++++++ include/configs/omap3_beagle.h | 2 4 files changed, 472 insertions(+)
drivers/spi/Makefile +1 -0
@@ -35,6 +35,7 @@ COBJS-$(CONFIG_KIRKWOOD_SPI) += kirkwood COBJS-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o COBJS-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o COBJS-$(CONFIG_MXC_SPI) += mxc_spi.o +COBJS-$(CONFIG_OMAP3_SPI) += omap3_spi.o COBJS-$(CONFIG_SOFT_SPI) += soft_spi.o COBJS := $(COBJS-y)
include/configs/omap3_beagle.h +2 -0
@@ -335,4 +335,6 @@ extern unsigned int boot_flash_type; CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) +#define CONFIG_OMAP3_SPI +#endif /* __CONFIG_H */
drivers/spi/omap3_spi.c new file +352 -0
352 lines not on this page · raw message
drivers/spi/omap3_spi.h new file +117 -0
117 lines not on this page · raw message