summaryrefslogtreecommitdiff
path: root/utils/nwztools/database/nwz_db.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-01-08 12:30:46 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-01-08 12:30:46 +0100
commit80d91e0cf5cd544aec8f081543204749c9a08238 (patch)
tree8bd3e15291123e6bf12cd56cb52901fa40ff395c /utils/nwztools/database/nwz_db.c
parent096ae78c20f75e11693484cbadd3f489a22641b0 (diff)
downloadrockbox-80d91e0cf5cd544aec8f081543204749c9a08238.tar.gz
rockbox-80d91e0cf5cd544aec8f081543204749c9a08238.zip
nwztools: add A35 model and KAS
We don't know the encryption method, the KAS is completely different but it might be useful to record it anyway for future purposes. MID extracted from device, Japanese NW-A35. Change-Id: I4c4bb5b063da99003b5c316061d8c490b77428a4
Diffstat (limited to 'utils/nwztools/database/nwz_db.c')
-rw-r--r--utils/nwztools/database/nwz_db.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/nwztools/database/nwz_db.c b/utils/nwztools/database/nwz_db.c
index 9e45988189..1c93739e22 100644
--- a/utils/nwztools/database/nwz_db.c
+++ b/utils/nwztools/database/nwz_db.c
@@ -207,6 +207,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] =
207 { 0x1d000007, "NW-A28" }, 207 { 0x1d000007, "NW-A28" },
208 { 0x20000007, "NW-WM1A" }, 208 { 0x20000007, "NW-WM1A" },
209 { 0x21000008, "NW-WM1Z" }, 209 { 0x21000008, "NW-WM1Z" },
210 { 0x22000004, "NW-A35" },
210}; 211};
211 212
212static int nvp_index_0ac81d[NWZ_NVP_COUNT] = 213static int nvp_index_0ac81d[NWZ_NVP_COUNT] =
@@ -1014,7 +1015,7 @@ static unsigned long models_nwz_a10[] = { 0x1a000001, 0x1a000002, 0x1a000004,
1014static unsigned long models_nw_a20[] = { 0x1d000001, 0x1d000002, 0x1d000004, 1015static unsigned long models_nw_a20[] = { 0x1d000001, 0x1d000002, 0x1d000004,
1015 0x1d000005, 0x1d000006, 0x1d000007 }; 1016 0x1d000005, 0x1d000006, 0x1d000007 };
1016 1017
1017static unsigned long models_nw_a30[] = { }; 1018static unsigned long models_nw_a30[] = { 0x22000004 };
1018 1019
1019static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004, 1020static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004,
1020 0x3020001, 0x3020002, 0x3020004 }; 1021 0x3020001, 0x3020002, 0x3020004 };
@@ -1111,7 +1112,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] =
1111{ 1112{
1112 { "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee }, 1113 { "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee },
1113 { "nw-a20", "NW-A20 Series", 6, models_nw_a20, &nvp_index_92faee }, 1114 { "nw-a20", "NW-A20 Series", 6, models_nw_a20, &nvp_index_92faee },
1114 { "nw-a30", "NW-A30 Series", 0, models_nw_a30, &nvp_index_398250 }, 1115 { "nw-a30", "NW-A30 Series", 1, models_nw_a30, &nvp_index_398250 },
1115 { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 }, 1116 { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 },
1116 { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 }, 1117 { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 },
1117 { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 }, 1118 { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 },