diff options
author | Wealian Liao <WHLIAO@nuvoton.com> | 2020-11-26 10:25:09 +0800 |
---|---|---|
committer | Oleksij Rempel <linux@rempel-privat.de> | 2021-09-02 06:42:54 +0000 |
commit | 385eedfc6f0b82c5d6715c740ee40bdce983ef04 (patch) | |
tree | 8989d8f92b88dcddfcd76a9da5c56477a2b9c581 /src/flash/nor/drivers.c | |
parent | a098816a6557e5882bf088ab12a06b94934f30ce (diff) | |
download | riscv-openocd-385eedfc6f0b82c5d6715c740ee40bdce983ef04.zip riscv-openocd-385eedfc6f0b82c5d6715c740ee40bdce983ef04.tar.gz riscv-openocd-385eedfc6f0b82c5d6715c740ee40bdce983ef04.tar.bz2 |
flash/nor: add support for Nuvoton NPCX series flash
Added NPCX flash driver to support the Nuvoton NPCX series
microcontrollers. Add config file for NPCX series.
Change-Id: Ia10b019a3521f59ad1e10ccdc56827ba30c3eac8
Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/5950
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r-- | src/flash/nor/drivers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c index 6eadc75..3e35c09 100644 --- a/src/flash/nor/drivers.c +++ b/src/flash/nor/drivers.c @@ -56,6 +56,7 @@ extern const struct flash_driver mdr_flash; extern const struct flash_driver mrvlqspi_flash; extern const struct flash_driver msp432_flash; extern const struct flash_driver niietcm4_flash; +extern const struct flash_driver npcx_flash; extern const struct flash_driver nrf5_flash; extern const struct flash_driver nrf51_flash; extern const struct flash_driver numicro_flash; @@ -130,6 +131,7 @@ static const struct flash_driver * const flash_drivers[] = { &mrvlqspi_flash, &msp432_flash, &niietcm4_flash, + &npcx_flash, &nrf5_flash, &nrf51_flash, &numicro_flash, |