summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-24 11:45:51 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-24 11:46:19 +0100
commit2ae792c2f58d03cfacdf52d179ea571eff795ce3 (patch)
tree3805fe657e3280bd68adc3d50e7e796eaa3a7491 /firmware/target
parenta644489ccf8a6665274e1666011e9e137cc8ad19 (diff)
downloadrockbox-2ae792c2f58d03cfacdf52d179ea571eff795ce3.tar.gz
rockbox-2ae792c2f58d03cfacdf52d179ea571eff795ce3.tar.bz2
rockbox-2ae792c2f58d03cfacdf52d179ea571eff795ce3.zip
nwztools: add NW-ZX300A
Change-Id: I8b311ed6b48b92b9ecf4fb25c19119cfb2d5beb1
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.c5
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c
index 88872ffae7..d8eda057be 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.c
+++ b/firmware/target/hosted/sonynwz/nwz-db.c
@@ -210,6 +210,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] =
{ 0x22000004, "NW-A35" },
{ 0x22000005, "NW-A36" },
{ 0x22000006, "NW-A37" },
+ { 0x23000004, "NW-ZX300A" },
{ 0x23000006, "NW-ZX300" },
{ 0x24000006, "NW-A47" },
};
@@ -1439,7 +1440,7 @@ static unsigned long models_nwz_x1000[] = { 0x5000002, 0x5000004, 0x5000005,
static unsigned long models_nw_zx100[] = { 0x1c000007, 0x1c000001, 0x1c000002,
0x1c000004, 0x1c000005, 0x1c000006 };
-static unsigned long models_nw_zx300[] = { 0x23000006 };
+static unsigned long models_nw_zx300[] = { 0x23000004, 0x23000006 };
static unsigned long models_nwz_noname[] = { 0x5010002, 0x5010004, 0x5010005 };
@@ -1481,6 +1482,6 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
{ "nw-wm1", "NW-WM1 Series", 2, models_nw_wm1, &nvp_index_398250 },
{ "nwz-x1000", "NWZ-X1000 Series", 9, models_nwz_x1000, &nvp_index_4edba7 },
{ "nw-zx100", "NW-ZX100 Series", 6, models_nw_zx100, &nvp_index_92faee },
- { "nw-zx300", "NW-ZX300 Series", 1, models_nw_zx300, &nvp_index_139d65 },
+ { "nw-zx300", "NW-ZX300 Series", 2, models_nw_zx300, &nvp_index_139d65 },
{ "nwz-noname", "NONAME", 3, models_nwz_noname, 0 },
};
diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h
index f2efb88847..2b59cb2d47 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.h
+++ b/firmware/target/hosted/sonynwz/nwz-db.h
@@ -152,7 +152,7 @@ enum nwz_nvp_node_t
/* Invalid NVP index */
#define NWZ_NVP_INVALID -1 /* Non-existent entry */
/* Number of models */
-#define NWZ_MODEL_COUNT 188
+#define NWZ_MODEL_COUNT 189
/* Number of series */
#define NWZ_SERIES_COUNT 38