From 819d3ee02e870167f565b44671e949a9b08b5c10 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 24 Oct 2017 17:47:28 +0100 Subject: nwztools: add NW-A45 Change-Id: I75a7723498564ee73c3682391582e354ad672fd7 --- firmware/target/hosted/sonynwz/nwz-db.c | 5 +++-- firmware/target/hosted/sonynwz/nwz-db.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'firmware') diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c index d8eda057be..8f511e14d1 100644 --- a/firmware/target/hosted/sonynwz/nwz-db.c +++ b/firmware/target/hosted/sonynwz/nwz-db.c @@ -212,6 +212,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] = { 0x22000006, "NW-A37" }, { 0x23000004, "NW-ZX300A" }, { 0x23000006, "NW-ZX300" }, + { 0x24000004, "NW-A45" }, { 0x24000006, "NW-A47" }, }; @@ -1349,7 +1350,7 @@ static unsigned long models_nw_a20[] = { 0x1d000001, 0x1d000002, 0x1d000004, static unsigned long models_nw_a30[] = { 0x22000004, 0x22000005, 0x22000006 }; -static unsigned long models_nw_a40[] = { 0x24000006 }; +static unsigned long models_nw_a40[] = { 0x24000004, 0x24000006 }; static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004, 0x3020001, 0x3020002, 0x3020004 }; @@ -1449,7 +1450,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] = { "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee }, { "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", 1, models_nw_a40, &nvp_index_139d65 }, + { "nw-a40", "NW-A40 Series", 2, models_nw_a40, &nvp_index_139d65 }, { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 }, { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 }, { "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 2b59cb2d47..d9167c14db 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 189 +#define NWZ_MODEL_COUNT 190 /* Number of series */ #define NWZ_SERIES_COUNT 38 -- cgit v1.2.3