diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-10-17 13:05:11 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-10-17 13:05:11 +0200 |
commit | 69223234666afdf739483b64a41e3419f5a00f69 (patch) | |
tree | a50a350470c9b1988c1138a0f25c7aeee5e322d0 /firmware/target | |
parent | 81f5a225f7ce37694b7d93cc9ce20bf1fa706a3a (diff) | |
download | rockbox-69223234666afdf739483b64a41e3419f5a00f69.tar.gz rockbox-69223234666afdf739483b64a41e3419f5a00f69.zip |
sonynwz: add NW-A47 to the database and regenerate nwz_db.{c,h}
Change-Id: I6331a48a4d336348e90a32cf151427b29eeedb2b
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/sonynwz/nwz-db.c | 5 | ||||
-rw-r--r-- | firmware/target/hosted/sonynwz/nwz-db.h | 2 |
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 8414de1fa7..88872ffae7 100644 --- a/firmware/target/hosted/sonynwz/nwz-db.c +++ b/firmware/target/hosted/sonynwz/nwz-db.c | |||
@@ -211,6 +211,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] = | |||
211 | { 0x22000005, "NW-A36" }, | 211 | { 0x22000005, "NW-A36" }, |
212 | { 0x22000006, "NW-A37" }, | 212 | { 0x22000006, "NW-A37" }, |
213 | { 0x23000006, "NW-ZX300" }, | 213 | { 0x23000006, "NW-ZX300" }, |
214 | { 0x24000006, "NW-A47" }, | ||
214 | }; | 215 | }; |
215 | 216 | ||
216 | static int nvp_index_0ac81d[NWZ_NVP_COUNT] = | 217 | static int nvp_index_0ac81d[NWZ_NVP_COUNT] = |
@@ -1347,7 +1348,7 @@ static unsigned long models_nw_a20[] = { 0x1d000001, 0x1d000002, 0x1d000004, | |||
1347 | 1348 | ||
1348 | static unsigned long models_nw_a30[] = { 0x22000004, 0x22000005, 0x22000006 }; | 1349 | static unsigned long models_nw_a30[] = { 0x22000004, 0x22000005, 0x22000006 }; |
1349 | 1350 | ||
1350 | static unsigned long models_nw_a40[] = { }; | 1351 | static unsigned long models_nw_a40[] = { 0x24000006 }; |
1351 | 1352 | ||
1352 | static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004, | 1353 | static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004, |
1353 | 0x3020001, 0x3020002, 0x3020004 }; | 1354 | 0x3020001, 0x3020002, 0x3020004 }; |
@@ -1447,7 +1448,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] = | |||
1447 | { "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee }, | 1448 | { "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee }, |
1448 | { "nw-a20", "NW-A20 Series", 6, models_nw_a20, &nvp_index_92faee }, | 1449 | { "nw-a20", "NW-A20 Series", 6, models_nw_a20, &nvp_index_92faee }, |
1449 | { "nw-a30", "NW-A30 Series", 3, models_nw_a30, &nvp_index_398250 }, | 1450 | { "nw-a30", "NW-A30 Series", 3, models_nw_a30, &nvp_index_398250 }, |
1450 | { "nw-a40", "NW-A40 Series", 0, models_nw_a40, &nvp_index_139d65 }, | 1451 | { "nw-a40", "NW-A40 Series", 1, models_nw_a40, &nvp_index_139d65 }, |
1451 | { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 }, | 1452 | { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 }, |
1452 | { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 }, | 1453 | { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 }, |
1453 | { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 }, | 1454 | { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 }, |
diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h index 35642f18c4..f2efb88847 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 | |||
152 | /* Invalid NVP index */ | 152 | /* Invalid NVP index */ |
153 | #define NWZ_NVP_INVALID -1 /* Non-existent entry */ | 153 | #define NWZ_NVP_INVALID -1 /* Non-existent entry */ |
154 | /* Number of models */ | 154 | /* Number of models */ |
155 | #define NWZ_MODEL_COUNT 187 | 155 | #define NWZ_MODEL_COUNT 188 |
156 | /* Number of series */ | 156 | /* Number of series */ |
157 | #define NWZ_SERIES_COUNT 38 | 157 | #define NWZ_SERIES_COUNT 38 |
158 | 158 | ||