Skip to contentSkip to conversation

mtd: rpc: Add Renesas RPC Hyperflash driver

PATCH New Marek Vasut 1 participant 1 message Apr 9, 2018 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: rpc: Add Renesas RPC Hyperflash driver

Add driver for the RPC block in Hyperflash mode. This driver allows access to a CFI Hyperflash attached to the RPC block and does not support RPC in SPI mode.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 drivers/mtd/Kconfig          |   7 +
 drivers/mtd/Makefile         |   1 +
 drivers/mtd/renesas_rpc_hf.c | 398 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 406 insertions(+)
 create mode 100644 drivers/mtd/renesas_rpc_hf.c
drivers/mtd/Kconfig +7 -0
index 19579801d2..707359dca1 100644
@@ -40,6 +40,13 @@ config FLASH_PIC32
 	  This enables access to Microchip PIC32 internal non-CFI flash
 	  chips through PIC32 Non-Volatile-Memory Controller.
 
+config RENESAS_RPC_HF
+	bool "Renesas RCar Gen3 RPC Hyperflash driver"
+	depends on RCAR_GEN3 && MTD
+	help
+	  This enables access to Hyperflash memory through the Renesas
+	  RCar Gen3 RPC controller.
+
 endmenu
 
 source "drivers/mtd/nand/Kconfig"
drivers/mtd/Makefile +1 -0
index 20c0d0af44..e46cbd8837 100644
@@ -20,3 +20,4 @@ obj-$(CONFIG_MW_EEPROM) += mw_eeprom.o
 obj-$(CONFIG_FLASH_PIC32) += pic32_flash.o
 obj-$(CONFIG_ST_SMI) += st_smi.o
 obj-$(CONFIG_STM32_FLASH) += stm32_flash.o
+obj-$(CONFIG_RENESAS_RPC_HF) += renesas_rpc_hf.o
drivers/mtd/renesas_rpc_hf.c new file +398 -0

398 lines not on this page · raw message

Signature · 1 line
2.16.2