diff --git a/rimage/manifest.c b/rimage/manifest.c index 7e4cfbf09..0e4c14749 100644 --- a/rimage/manifest.c +++ b/rimage/manifest.c @@ -1087,6 +1087,11 @@ err: #define ICL_DSP_IMR_BASE_ENTRY 0xb0038000 #define ICL_DSP_HP_BASE_ENTRY 0xbe040000 +#define ADSP_TGL_DSP_ROM_BASE 0x9F180000 +#define ADSP_TGL_DSP_ROM_SIZE 0x00002000 +#define TGL_DSP_IMR_BASE_ENTRY 0xb0038000 +#define TGL_DSP_HP_BASE_ENTRY 0xbe040000 + /* list of supported adsp */ const struct adsp machine_apl = { .name = "apl", @@ -1196,6 +1201,30 @@ const struct adsp machine_icl = { .man_v1_8 = &cnl_manifest, // use the same as CNL }; +const struct adsp machine_tgl = { + .name = "tgl", + .mem_zones = { + [SOF_FW_BLK_TYPE_ROM] = { + .base = ADSP_TGL_DSP_ROM_BASE, + .size = ADSP_TGL_DSP_ROM_SIZE, + }, + [SOF_FW_BLK_TYPE_IMR] = { + .base = TGL_DSP_IMR_BASE_ENTRY, + .size = 0x100000, + }, + [SOF_FW_BLK_TYPE_SRAM] = { + .base = TGL_DSP_HP_BASE_ENTRY, + .size = 0x100000, + }, + }, + .image_size = 0x100000, + .dram_offset = 0, + .machine_id = MACHINE_TIGERLAKE, + .write_firmware = man_write_fw_v1_8, + .write_firmware_meu = man_write_fw_meu_v1_8, + .man_v1_8 = &cnl_manifest, // use the same as CNL +}; + const struct adsp machine_sue = { .name = "sue", .mem_zones = { diff --git a/rimage/rimage.c b/rimage/rimage.c index 2efbe941a..cec510fd6 100644 --- a/rimage/rimage.c +++ b/rimage/rimage.c @@ -21,6 +21,7 @@ static const struct adsp *machine[] = { &machine_apl, &machine_cnl, &machine_icl, + &machine_tgl, &machine_sue, &machine_kbl, &machine_skl, diff --git a/rimage/rimage.h b/rimage/rimage.h index e33446369..d69c9ff6b 100644 --- a/rimage/rimage.h +++ b/rimage/rimage.h @@ -35,6 +35,7 @@ enum machine_id { MACHINE_SKYLAKE, MACHINE_CANNONLAKE, MACHINE_ICELAKE, + MACHINE_TIGERLAKE, MACHINE_SUECREEK, MACHINE_IMX8, MACHINE_MAX @@ -182,6 +183,7 @@ extern const struct adsp machine_bdw; extern const struct adsp machine_apl; extern const struct adsp machine_cnl; extern const struct adsp machine_icl; +extern const struct adsp machine_tgl; extern const struct adsp machine_sue; extern const struct adsp machine_skl; extern const struct adsp machine_kbl;