summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sonynwz
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2018-01-07 23:23:24 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2018-01-07 23:24:58 +0100
commit0d794c0c06570decf030fae7e42993bc53c5ab57 (patch)
tree80b980bbb2f369b703117e128fbd99c3546f55bc /firmware/target/hosted/sonynwz
parent896c828152f758f569426db1013a59d4854bc291 (diff)
downloadrockbox-0d794c0c06570decf030fae7e42993bc53c5ab57.tar.gz
rockbox-0d794c0c06570decf030fae7e42993bc53c5ab57.tar.bz2
rockbox-0d794c0c06570decf030fae7e42993bc53c5ab57.zip
sonynwz: Add NVP information for NWZ-A810
Change-Id: I37671ddf15ee1a4b469f97fe06ec86249ff9ce60
Diffstat (limited to 'firmware/target/hosted/sonynwz')
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.c127
1 files changed, 126 insertions, 1 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c
index 550f6f9d30..c216fd3a78 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.c
+++ b/firmware/target/hosted/sonynwz/nwz-db.c
@@ -592,6 +592,131 @@ static int nvp_index_28dc2c[NWZ_NVP_COUNT] =
[NWZ_NVP_VRT] = 81,
};
+static int nvp_index_342a18[NWZ_NVP_COUNT] =
+{
+ [NWZ_NVP_APD] = NWZ_NVP_INVALID,
+ [NWZ_NVP_APP] = 0,
+ [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] = NWZ_NVP_INVALID,
+ [NWZ_NVP_BTC] = NWZ_NVP_INVALID,
+ [NWZ_NVP_BTI] = 1,
+ [NWZ_NVP_CLG] = NWZ_NVP_INVALID,
+ [NWZ_NVP_CLV] = NWZ_NVP_INVALID,
+ [NWZ_NVP_CNG] = 3,
+ [NWZ_NVP_CTR] = NWZ_NVP_INVALID,
+ [NWZ_NVP_DBA] = 12,
+ [NWZ_NVP_DBG] = NWZ_NVP_INVALID,
+ [NWZ_NVP_DBI] = NWZ_NVP_INVALID,
+ [NWZ_NVP_DBS] = 27,
+ [NWZ_NVP_DBV] = 13,
+ [NWZ_NVP_DCC] = 7,
+ [NWZ_NVP_DG0] = 5,
+ [NWZ_NVP_DG1] = 6,
+ [NWZ_NVP_DOR] = 21,
+ [NWZ_NVP_E00] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E01] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E02] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E03] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E04] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E05] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E06] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E07] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E08] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E09] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E10] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E11] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E12] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E13] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E14] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E15] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E16] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E17] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E18] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E19] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E20] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E21] = NWZ_NVP_INVALID,
+ [NWZ_NVP_E22] = NWZ_NVP_INVALID,
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UPS] = NWZ_NVP_INVALID,
+ [NWZ_NVP_VAR] = 25,
+ [NWZ_NVP_VRT] = NWZ_NVP_INVALID,
+};
+
static int nvp_index_398250[NWZ_NVP_COUNT] =
{
[NWZ_NVP_APD] = 78,
@@ -1453,7 +1578,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
{ "nw-a30", "NW-A30 Series", 3, models_nw_a30, &nvp_index_398250 },
{ "nw-a40", "NW-A40 Series", 3, models_nw_a40, &nvp_index_139d65 },
{ "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 },
- { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 },
+ { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, &nvp_index_342a18 },
{ "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 },
{ "nwz-a840", "NWZ-A840 Series", 6, models_nwz_a840, &nvp_index_0ac81d },
{ "nwz-a850", "NWZ-A850 Series", 3, models_nwz_a850, &nvp_index_0ac81d },