diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2020-01-12 17:59:02 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2020-01-12 17:59:02 +0100 |
commit | d6c9303c75b6e884335c0a905a1d7e13fbe3bbbe (patch) | |
tree | 4cafff5a775e2aebe5ac9389744eca1b0a0bff67 | |
parent | 8794b95a725c7e9b567e192a1fbceeff1edf0e1a (diff) |
sonynwz/scsitools: add support for NW-A56
Change-Id: I07e57218638ef62c0e4bf92833add6c3ba7bdcd8
-rw-r--r-- | firmware/target/hosted/sonynwz/nwz-db.c | 5 | ||||
-rw-r--r-- | firmware/target/hosted/sonynwz/nwz-db.h | 2 | ||||
-rw-r--r-- | utils/nwztools/database/models.txt | 1 | ||||
-rw-r--r-- | utils/nwztools/database/series.txt | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c index ca60bdf795..62722f4429 100644 --- a/firmware/target/hosted/sonynwz/nwz-db.c +++ b/firmware/target/hosted/sonynwz/nwz-db.c @@ -218,6 +218,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] = { 0x24000005, "NW-A46" }, { 0x24000006, "NW-A47" }, { 0x25000004, "NW-A55" }, + { 0x25000005, "NW-A56" }, { 0x25000006, "NW-A57" }, { 0x26000008, "DMP-Z1" }, }; @@ -1793,7 +1794,7 @@ static unsigned long models_nw_a30[] = { 0x22000004, 0x22000005, 0x22000006 }; static unsigned long models_nw_a40[] = { 0x24000004, 0x24000005, 0x24000006 }; -static unsigned long models_nw_a50[] = { 0x25000004, 0x25000006 }; +static unsigned long models_nw_a50[] = { 0x25000004, 0x25000005, 0x25000006 }; static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004, 0x3020001, 0x3020002, 0x3020004 }; @@ -1896,7 +1897,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] = { "nw-a20", "NW-A20 Series", 6, models_nw_a20, &nvp_index_92faee }, { "nw-a30", "NW-A30 Series", 3, models_nw_a30, &nvp_index_398250 }, { "nw-a40", "NW-A40 Series", 3, models_nw_a40, &nvp_index_139d65 }, - { "nw-a50", "NW-A50 Series", 2, models_nw_a50, &nvp_index_94b5fc }, + { "nw-a50", "NW-A50 Series", 3, models_nw_a50, &nvp_index_94b5fc }, { "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 }, diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h index afc251aa63..af2908b66f 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 196 +#define NWZ_MODEL_COUNT 197 /* Number of series */ #define NWZ_SERIES_COUNT 40 diff --git a/utils/nwztools/database/models.txt b/utils/nwztools/database/models.txt index e6e214f2dc..efd098c1a8 100644 --- a/utils/nwztools/database/models.txt +++ b/utils/nwztools/database/models.txt @@ -191,6 +191,7 @@ 0x24000005,NW-A46 0x24000006,NW-A47 0x25000004,NW-A55 +0x25000005,NW-A56 0x25000006,NW-A57 0x23000007,NW-ZX300 0x26000008,DMP-Z1 diff --git a/utils/nwztools/database/series.txt b/utils/nwztools/database/series.txt index d10bfe2988..b40432688a 100644 --- a/utils/nwztools/database/series.txt +++ b/utils/nwztools/database/series.txt @@ -2,7 +2,7 @@ nwz-a10,NWZ-A10 Series,0x1a000001,0x1a000002,0x1a000004,0x1a000005,0x1a000006,0x nw-a20,NW-A20 Series,0x1d000001,0x1d000002,0x1d000004,0x1d000005,0x1d000006,0x1d000007 nw-a30,NW-A30 Series,0x22000004,0x22000005,0x22000006 nw-a40,NW-A40 Series,0x24000004,0x24000005,0x24000006 -nw-a50,NW-A50 Series,0x25000004,0x25000006 +nw-a50,NW-A50 Series,0x25000004,0x25000005,0x25000006 nwz-a720,NWZ-A720 Series,0x3030001,0x3030002,0x3030004,0x3020001,0x3020002,0x3020004 nwz-a810,NWZ-A810 Series,0x10000,0x10001,0x10002 nwz-a820,NWZ-A820 Series,0x3010001,0x3010002,0x3010004,0x3000001,0x3000002,0x3000004 |