summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2020-10-18 22:33:41 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2020-10-18 22:34:16 +0200
commit08513103c6791b42fc532a5ce7b461356dca4add (patch)
treee61b938dc5a5ec530b67167c231c86f944714828 /firmware/target/hosted
parent1a1338c37929d11a3d6c3ca2843cff23693e6a4f (diff)
downloadrockbox-08513103c6791b42fc532a5ce7b461356dca4add.tar.gz
rockbox-08513103c6791b42fc532a5ce7b461356dca4add.tar.bz2
rockbox-08513103c6791b42fc532a5ce7b461356dca4add.zip
nwzstools: add NW-A820 nvp nodes
Change-Id: Iab79eb0c9b0bbf8fb7622f5630f385d56878507a
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.c132
1 files changed, 131 insertions, 1 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c
index 12c70ffb39..130fb8317d 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.c
+++ b/firmware/target/hosted/sonynwz/nwz-db.c
@@ -1133,6 +1133,136 @@ static int nvp_index_4edba7[NWZ_NVP_COUNT] =
[NWZ_NVP_VRT] = NWZ_NVP_INVALID,
};
+static int nvp_index_59d3e5[NWZ_NVP_COUNT] =
+{
+ [NWZ_NVP_APD] = NWZ_NVP_INVALID,
+ [NWZ_NVP_APP] = 0,
+ [NWZ_NVP_ATF] = NWZ_NVP_INVALID,
+ [NWZ_NVP_AWS] = NWZ_NVP_INVALID,
+ [NWZ_NVP_BFD] = NWZ_NVP_INVALID,
+ [NWZ_NVP_BFP] = NWZ_NVP_INVALID,
+ [NWZ_NVP_BLF] = NWZ_NVP_INVALID,
+ [NWZ_NVP_BML] = NWZ_NVP_INVALID,
+ [NWZ_NVP_BOK] = 10,
+ [NWZ_NVP_BPR] = 35,
+ [NWZ_NVP_BTC] = NWZ_NVP_IN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_INVALID,
+ [NWZ_NVP_PNC] = 33,
+ [NWZ_NVP_PRK] = NWZ_NVP_INVALID,
+ [NWZ_NVP_PSK] = NWZ_NVP_INVALID,
+ [NWZ_NVP_PTS] = NWZ_NVP_INVALID,
+ [NWZ_NVP_PWD] = NWZ_NVP_INVALID,
+ [NWZ_NVP_RBT] = NWZ_NVP_INVALID,
+ [NWZ_NVP_RND] = 28,
+ [NWZ_NVP_RTC] = 34,
+ [NWZ_NVP_SDC] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SDP] = 30,
+ [NWZ_NVP_SE2] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SER] = 4,
+ [NWZ_NVP_SFI] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SHE] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SHP] = 11,
+ [NWZ_NVP_SID] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SKD] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SKT] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SKU] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SLP] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SPS] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SSK] = NWZ_NVP_INVALID,
+ [NWZ_NVP_SYI] = 24,
+ [NWZ_NVP_TR0] = 14,
+ [NWZ_NVP_TR1] = 15,
+ [NWZ_NVP_TST] = 17,
+ [NWZ_NVP_UBP] = 23,
+ [NWZ_NVP_UFN] = 29,
+ [NWZ_NVP_UMS] = NWZ_NVP_INVALID,
+ [NWZ_NVP_UPS] = NWZ_NVP_INVALID,
+ [NWZ_NVP_VAR] = 25,
+ [NWZ_NVP_VRT] = NWZ_NVP_INVALID,
+};
+
static int nvp_index_6485c8[NWZ_NVP_COUNT] =
{
[NWZ_NVP_APD] = 78,
@@ -1902,7 +2032,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
{ "nw-a50", "NW-A50 Series", 3, models_nw_a50, &nvp_index_94b5fc },
{ "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 },
{ "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, &nvp_index_342a18 },
- { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 },
+ { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, &nvp_index_59d3e5 },
{ "nwz-a840", "NWZ-A840 Series", 7, models_nwz_a840, &nvp_index_0ac81d },
{ "nwz-a850", "NWZ-A850 Series", 3, models_nwz_a850, &nvp_index_0ac81d },
{ "nwz-a860", "NWZ-A860 Series", 15, models_nwz_a860, &nvp_index_f505c8 },