From mboxrd@z Thu Jan 1 00:00:00 1970 From: Purna Chandra Mandal Date: Mon, 14 Mar 2016 19:37:03 +0530 Subject: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver. In-Reply-To: <56E6C0B2.1060400@openedev.com> References: <1457615574-5246-1-git-send-email-purna.mandal@microchip.com> <56E6BD03.4010303@microchip.com> <56E6C0B2.1060400@openedev.com> Message-ID: <56E6C587.90609@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jagan. On 03/14/2016 07:16 PM, Jagan Teki wrote: > On Monday 14 March 2016 07:00 PM, Purna Chandra Mandal wrote: >> On 03/14/2016 06:13 PM, Daniel Schwierzeck wrote: >>> 2016-03-10 14:12 GMT+01:00 Purna Chandra Mandal : >>>> PIC32 embedded flash banks are memory mapped, directly read by CPU, >>>> and programming (erase followed by write) operation on them are >>>> handled by on-chip NVM controller. >>>> Signed-off-by: Purna Chandra Mandal >>>> --- >>>> drivers/mtd/Kconfig | 6 + >>>> drivers/mtd/Makefile | 1 + >>>> drivers/mtd/pic32_flash.c | 377 ++++++++++++++++++++++++++++++++++++++++++++++ > BTW: this driver need to be write in mtd driver mode, see for existing > drivers and let me know for any help. Will take up this activity [of supporting MTD] later on. For the time-being we are not using mtd on embedded flash, mainly using for environment and bootcode which are at well-known offset, size defined in include/configs/.