drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.
authorPurna Chandra Mandal <purna.mandal@microchip.com>
Fri, 18 Mar 2016 13:06:08 +0000 (18:36 +0530)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 20 May 2016 23:25:50 +0000 (01:25 +0200)
commit5c990456999c5672b8e626f945b0e8e17162e02f
tree4718ee1112d825aa7b9573641274b33597670215
parent30fd42cba6e7d4147e2dd4e9dbe9728efbcd24fe
drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

PIC32 internal flash devices are parallel NOR flash divided into
number of banks to allow erase-programming in one while fetch and
execution continues on other. As the flash banks are memory mapped
stored code can be executed directly from flash (XIP), also there
is additional hardware logic to prefetch and cache contents to
improve execution performance. These flash can also be used to
store user data (like environment).
Flash erase and programming are handled by on-chip NVM controller.

Driver implemented driver model but MTD is not really support.

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/Kconfig
drivers/mtd/Makefile
drivers/mtd/pic32_flash.c [new file with mode: 0644]