summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2018-06-01 12:43:05 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2018-11-30 15:37:10 +0100
commit110fd2cae6c0430c2033f01fb3c1ace11a32f327 (patch)
tree1abbaef16e2a2b4975bb29ca83fe322fc6e1da7f /firmware/target
parent3d72119dd462a82e7c253430a3ef8d1f104cdce2 (diff)
Add the NWZ-A844 to the database
For some reason even Sony didn't have it in its list... Change-Id: I26de6071e5887cc7c6ebb695ea333c7b3d1b50db
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.c7
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.h2
2 files changed, 5 insertions, 4 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c
index dc4c23ca07..811aa7122d 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.c
+++ b/firmware/target/hosted/sonynwz/nwz-db.c
@@ -88,6 +88,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] =
{ 0x6030002, "NW-S744" },
{ 0x6030004, "NW-S745" },
{ 0x6030005, "NW-S746" },
+ { 0x7000002, "NWZ-A844" },
{ 0x7000004, "NWZ-A845" },
{ 0x7000005, "NWZ-A846" },
{ 0x7000006, "NWZ-A847" },
@@ -1799,8 +1800,8 @@ static unsigned long models_nwz_a810[] = { 0x10000, 0x10001, 0x10002 };
static unsigned long models_nwz_a820[] = { 0x3010001, 0x3010002, 0x3010004,
0x3000001, 0x3000002, 0x3000004 };
-static unsigned long models_nwz_a840[] = { 0x7010004, 0x7010005, 0x7010006,
- 0x7000004, 0x7000005, 0x7000006 };
+static unsigned long models_nwz_a840[] = { 0x7000002, 0x7010004, 0x7010005,
+ 0x7010006, 0x7000004, 0x7000005, 0x7000006 };
static unsigned long models_nwz_a850[] = { 0xe000004, 0xe000005, 0xe000006 };
@@ -1894,7 +1895,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
{ "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-a840", "NWZ-A840 Series", 6, models_nwz_a840, &nvp_index_0ac81d },
+ { "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 },
{ "nw-a910", "NW-A910 Series", 3, models_nw_a910, 0 },
diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h
index 1fe383b715..fa76cd81b4 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.h
+++ b/firmware/target/hosted/sonynwz/nwz-db.h
@@ -157,7 +157,7 @@ enum nwz_nvp_node_t
/* Invalid NVP index */
#define NWZ_NVP_INVALID -1 /* Non-existent entry */
/* Number of models */
-#define NWZ_MODEL_COUNT 192
+#define NWZ_MODEL_COUNT 193
/* Number of series */
#define NWZ_SERIES_COUNT 39