arm_adi_v5: Adding Nuvoton NPCX quirk
authorBen Bender <benjbender@gmail.com>
Tue, 5 Oct 2021 07:58:57 +0000 (10:58 +0300)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 30 Jul 2022 08:49:47 +0000 (08:49 +0000)
commit2c6571b9b1152098410c18a9f6bcd5cbb318f881
tree292c15d655581074399c5062a97c9591feec7241
parentf97915f248d7e3e7db49139b4fbb40e1e480ed53
arm_adi_v5: Adding Nuvoton NPCX quirk

We found that the NPCX has an issue with the byte lanes so that non byte
aligned writes aren't working. To overcome this, for byte accesses we
copy the byte to be written to all of the byte lanes.

doc: Document command nu_npcx_quirks

Signed-off-by: benjbender <benjbender@gmail.com>
[Andreas Fritiofson: Squashed commits]
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Change-Id: I9ef63bf692f4e68f57459e1ec33f3abcbf533cd2
Reviewed-on: https://review.openocd.org/c/openocd/+/6630
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
doc/openocd.texi
src/target/arm_adi_v5.c
src/target/arm_adi_v5.h