aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuca Hung <YCHUNG0@nuvoton.com>2023-07-31 15:08:18 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2023-09-08 22:01:12 +0000
commit62f76b2169302b9500deea737a017168271824ac (patch)
treed59e21569d935c17615a42f58e72a0a5c76bd4c1 /doc
parent2839a873a3e93c8f744352fc1671c2db6297937b (diff)
downloadriscv-openocd-62f76b2169302b9500deea737a017168271824ac.zip
riscv-openocd-62f76b2169302b9500deea737a017168271824ac.tar.gz
riscv-openocd-62f76b2169302b9500deea737a017168271824ac.tar.bz2
flash/nor: add support for Nuvoton NPCX4/K3 series flash
Added NPCX flash driver to support the Nuvoton NPCX4/K3 series microcontrollers. Add config file for these series. Change-Id: I0b6e128fa51146b561f422e23a98260594b1f138 Signed-off-by: Luca Hung <YCHUNG0@nuvoton.com> Signed-off-by: Mulin CHao <mlchao@nuvoton.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7794 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index d07188c..f6f7a0c 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -7193,10 +7193,16 @@ Show information about flash driver.
All versions of the NPCX microcontroller families from Nuvoton include internal
flash. The NPCX flash driver supports the NPCX family of devices. The driver
automatically recognizes the specific version's flash parameters and
-autoconfigures itself. The flash bank starts at address 0x64000000.
+autoconfigures itself. The flash bank starts at address 0x64000000. An optional additional
+parameter sets the FIU version for the bank, with the default FIU is @var{npcx.fiu}.
@example
+
+flash bank $_FLASHNAME npcx 0x64000000 0 0 0 $_TARGETNAME npcx_v2.fiu
+
+# FIU defaults to npcx.fiu
flash bank $_FLASHNAME npcx 0x64000000 0 0 0 $_TARGETNAME
+
@end example
@end deffn