ite: drivers/flash: add flash driver for it8xxx2

Add flash driver for it8xxx2. The driver can implement
flash read, write and erase that will be mapped to the
ram section for executing.

TEST="flash write 0x80000 0x10 0x20 0x30 0x40 ..."
     "flash read 0x80000 0x100"
     "flash erase 0x80000 0x1000"

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
Tim Lin 2020-12-25 18:23:44 +08:00 committed by Anas Nashif
commit ef3c8507a6
8 changed files with 673 additions and 4 deletions

View file

@ -62,6 +62,8 @@ source "drivers/flash/Kconfig.at45"
source "drivers/flash/Kconfig.esp32"
source "drivers/flash/Kconfig.it8xxx2"
source "drivers/flash/Kconfig.nrf"
source "drivers/flash/Kconfig.lpc"