summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/sonynwz/nwz-db.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2020-06-13 16:15:34 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2020-10-11 13:08:03 +0200
commit76fbb33adf3cd0b6bcbe26dc47464904493160bd (patch)
treecfabff837f7153496faf41eb3853b9d6ac826a53 /firmware/target/hosted/sonynwz/nwz-db.h
parentc8fa53050d30b667f224668ca5de2bb7f07a1b3d (diff)
downloadrockbox-76fbb33adf3cd0b6bcbe26dc47464904493160bd.tar.gz
rockbox-76fbb33adf3cd0b6bcbe26dc47464904493160bd.zip
nwztools: fix MW-WM1/A30 KAS, fix KAS length
Split WM1A/WM1Z because they don't have the same KAS. On newer devices, the KAS is actually 64 bytes, not 60. The strange thing is that "get_dnk_nvp kas" returns 60 bytes whereas "get_dnk_prop kas" returns 64, not sure why. Change-Id: I944d3d838209ba58388439af0cdf5d7c74f1f7fc
Diffstat (limited to 'firmware/target/hosted/sonynwz/nwz-db.h')
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h
index af2908b66f..a98267227b 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.h
+++ b/firmware/target/hosted/sonynwz/nwz-db.h
@@ -159,7 +159,7 @@ enum nwz_nvp_node_t
159/* Number of models */ 159/* Number of models */
160#define NWZ_MODEL_COUNT 197 160#define NWZ_MODEL_COUNT 197
161/* Number of series */ 161/* Number of series */
162#define NWZ_SERIES_COUNT 40 162#define NWZ_SERIES_COUNT 41
163 163
164/* NVP node info */ 164/* NVP node info */
165struct nwz_nvp_info_t 165struct nwz_nvp_info_t