summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Makefile
diff options
context:
space:
mode:
authorSkyLake.Huang <skylake.huang@mediatek.com>2021-01-20 15:31:33 +0800
committerTom Rini <trini@konsulko.com>2021-01-29 10:35:14 -0500
commit7a49d61742c2387e9d5fbb1e1e707ef1e0c624b5 (patch)
treec5211f09233fa82dc145b95c7444ca5e01e7fbbc /drivers/spi/Makefile
parente6b8e948abda64c52bb6535d8670121f7e2953ce (diff)
downloadu-boot-7a49d61742c2387e9d5fbb1e1e707ef1e0c624b5.tar.gz
u-boot-7a49d61742c2387e9d5fbb1e1e707ef1e0c624b5.tar.xz
u-boot-7a49d61742c2387e9d5fbb1e1e707ef1e0c624b5.zip
spi: mtk_snor: add support for MTK SPI NOR controller
This patch adds support for MTK SPI NOR controller, which you can see on mt7622 & mt7629. 1. This controller is designed only for SPI NOR. We can't adjust its bus clock dynamically. Set clock in dts instead. 2. This controller only supports 1-1-1 write mode. 3. Remove mtk_snor_match_read() since upper SPI-MEM layer already handles command. 4. sf read/write/update commands are tested with this driver. Signed-off-by: SkyLake.Huang <skylake.huang@mediatek.com>
Diffstat (limited to 'drivers/spi/Makefile')
-rw-r--r--drivers/spi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index d06949d2f5..cfe4fae1d4 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -37,6 +37,7 @@ obj-$(CONFIG_MESON_SPIFC) += meson_spifc.o
obj-$(CONFIG_MPC8XX_SPI) += mpc8xx_spi.o
obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
obj-$(CONFIG_MTK_SNFI_SPI) += mtk_snfi_spi.o
+obj-$(CONFIG_MTK_SNOR) += mtk_snor.o
obj-$(CONFIG_MT7620_SPI) += mt7620_spi.o
obj-$(CONFIG_MT7621_SPI) += mt7621_spi.o
obj-$(CONFIG_MSCC_BB_SPI) += mscc_bb_spi.o