rimage: add initial support for sue creek.

Build tested.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2018-09-28 15:48:29 +01:00
parent 4dd67d5754
commit 99473f3200
3 changed files with 24 additions and 0 deletions

View File

@ -828,6 +828,11 @@ err:
#define CNL_DSP_IMR_BASE_ENTRY 0xb0038000 #define CNL_DSP_IMR_BASE_ENTRY 0xb0038000
#define CNL_DSP_HP_BASE_ENTRY 0xbe040000 #define CNL_DSP_HP_BASE_ENTRY 0xbe040000
#define ADSP_SUE_DSP_ROM_BASE 0xBEFE0000
#define ADSP_SUE_DSP_ROM_SIZE 0x00002000
#define SUE_DSP_IMR_BASE_ENTRY 0xb0038000
#define SUE_DSP_HP_BASE_ENTRY 0xbe000000
#define ADSP_ICL_DSP_ROM_BASE 0xBEFE0000 #define ADSP_ICL_DSP_ROM_BASE 0xBEFE0000
#define ADSP_ICL_DSP_ROM_SIZE 0x00002000 #define ADSP_ICL_DSP_ROM_SIZE 0x00002000
#define ICL_DSP_IMR_BASE_ENTRY 0xb0038000 #define ICL_DSP_IMR_BASE_ENTRY 0xb0038000
@ -879,3 +884,19 @@ const struct adsp machine_icl = {
.write_firmware_meu = man_write_fw_meu, .write_firmware_meu = man_write_fw_meu,
.man = &cnl_manifest, // use the same as CNL .man = &cnl_manifest, // use the same as CNL
}; };
const struct adsp machine_sue = {
.name = "sue",
.rom_base = ADSP_SUE_DSP_ROM_BASE,
.rom_size = ADSP_SUE_DSP_ROM_SIZE,
.imr_base = SUE_DSP_IMR_BASE_ENTRY,
.imr_size = 0x100000,
.sram_base = SUE_DSP_HP_BASE_ENTRY,
.sram_size = 0x100000,
.image_size = 0x100000,
.dram_offset = 0,
.machine_id = MACHINE_SUECREEK,
.write_firmware = man_write_fw,
.write_firmware_meu = man_write_fw_meu,
.man = &cnl_manifest,
};

View File

@ -32,6 +32,7 @@ static const struct adsp *machine[] = {
&machine_apl, &machine_apl,
&machine_cnl, &machine_cnl,
&machine_icl, &machine_icl,
&machine_sue,
}; };
static void usage(char *name) static void usage(char *name)

View File

@ -41,6 +41,7 @@ enum machine_id {
MACHINE_APOLLOLAKE, MACHINE_APOLLOLAKE,
MACHINE_CANNONLAKE, MACHINE_CANNONLAKE,
MACHINE_ICELAKE, MACHINE_ICELAKE,
MACHINE_SUECREEK,
MACHINE_MAX MACHINE_MAX
}; };
@ -177,5 +178,6 @@ extern const struct adsp machine_bdw;
extern const struct adsp machine_apl; extern const struct adsp machine_apl;
extern const struct adsp machine_cnl; extern const struct adsp machine_cnl;
extern const struct adsp machine_icl; extern const struct adsp machine_icl;
extern const struct adsp machine_sue;
#endif #endif