summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sonynwz
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2019-04-22 23:32:18 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2019-04-22 23:45:33 +0200
commit063ff294a266f68ab93f462c264613c2223a40cd (patch)
tree908e17e4b85667748b4ecac3c926628e3c8b1436 /firmware/target/hosted/sonynwz
parente41a563b6cda71b8c973e884f47140087ebcd5ff (diff)
downloadrockbox-063ff294a266f68ab93f462c264613c2223a40cd.tar.gz
rockbox-063ff294a266f68ab93f462c264613c2223a40cd.tar.bz2
rockbox-063ff294a266f68ab93f462c264613c2223a40cd.zip
nwztools: add DMP-Z1 to the database
This is one of those fancy gold-plated devices. Of course it breaks my scripts that were nicely expecting every device to start with NW. Change-Id: I161320f620f65f4f92c2650d192b26a9831eeb9d
Diffstat (limited to 'firmware/target/hosted/sonynwz')
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.c4
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c
index a8ba2a7b85..ca60bdf795 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.c
+++ b/firmware/target/hosted/sonynwz/nwz-db.c
@@ -219,6 +219,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] =
{ 0x24000006, "NW-A47" },
{ 0x25000004, "NW-A55" },
{ 0x25000006, "NW-A57" },
+ { 0x26000008, "DMP-Z1" },
};
static int nvp_index_06a782[NWZ_NVP_COUNT] =
@@ -1887,6 +1888,8 @@ static unsigned long models_nw_zx300[] = { 0x23000004, 0x23000006, 0x23000007 };
static unsigned long models_nwz_noname[] = { 0x5010002, 0x5010004, 0x5010005 };
+static unsigned long models_dmp_z1[] = { 0x26000008 };
+
struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
{
{ "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee },
@@ -1928,4 +1931,5 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
{ "nw-zx100", "NW-ZX100 Series", 6, models_nw_zx100, &nvp_index_92faee },
{ "nw-zx300", "NW-ZX300 Series", 3, models_nw_zx300, &nvp_index_139d65 },
{ "nwz-noname", "NONAME", 3, models_nwz_noname, 0 },
+ { "dmp-z1", "DMP-Z1 Series", 1, models_dmp_z1, &nvp_index_94b5fc },
};
diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h
index 152a111644..afc251aa63 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.h
+++ b/firmware/target/hosted/sonynwz/nwz-db.h
@@ -157,9 +157,9 @@ enum nwz_nvp_node_t
/* Invalid NVP index */
#define NWZ_NVP_INVALID -1 /* Non-existent entry */
/* Number of models */
-#define NWZ_MODEL_COUNT 195
+#define NWZ_MODEL_COUNT 196
/* Number of series */
-#define NWZ_SERIES_COUNT 39
+#define NWZ_SERIES_COUNT 40
/* NVP node info */
struct nwz_nvp_info_t