icl: initial support

Added icelake platform to platforms.
Updated rimage to support icelake.
Updated autoconf and automake files.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2018-08-31 15:19:33 +02:00 committed by Daniel Leung
parent 513c47fd8c
commit 4e9ef23474
3 changed files with 26 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation.
* Copyright (c) 2018, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@ -12,6 +12,7 @@
*
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
* Keyon Jie <yang.jie@linux.intel.com>
* Janusz Jankowski <janusz.jankowski@linux.intel.com>
*/
@ -826,6 +827,11 @@ err:
#define CNL_DSP_IMR_BASE_ENTRY 0xb0038000
#define CNL_DSP_HP_BASE_ENTRY 0xbe040000
#define ADSP_ICL_DSP_ROM_BASE 0xBEFE0000
#define ADSP_ICL_DSP_ROM_SIZE 0x00002000
#define ICL_DSP_IMR_BASE_ENTRY 0xb0038000
#define ICL_DSP_HP_BASE_ENTRY 0xbe040000
/* list of supported adsp */
const struct adsp machine_apl = {
.name = "apl",
@ -856,3 +862,19 @@ const struct adsp machine_cnl = {
.write_firmware_meu = man_write_fw_meu,
.man = &cnl_manifest,
};
const struct adsp machine_icl = {
.name = "icl",
.rom_base = ADSP_ICL_DSP_ROM_BASE,
.rom_size = ADSP_ICL_DSP_ROM_SIZE,
.imr_base = ICL_DSP_IMR_BASE_ENTRY,
.imr_size = 0x100000,
.sram_base = ICL_DSP_HP_BASE_ENTRY,
.sram_size = 0x100000,
.image_size = 0x100000,
.dram_offset = 0,
.machine_id = MACHINE_ICELAKE,
.write_firmware = man_write_fw,
.write_firmware_meu = man_write_fw_meu,
.man = &cnl_manifest, // use the same as CNL
};

View File

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

View File

@ -40,6 +40,7 @@ enum machine_id {
MACHINE_BROADWELL,
MACHINE_APOLLOLAKE,
MACHINE_CANNONLAKE,
MACHINE_ICELAKE,
MACHINE_MAX
};
@ -170,5 +171,6 @@ extern const struct adsp machine_hsw;
extern const struct adsp machine_bdw;
extern const struct adsp machine_apl;
extern const struct adsp machine_cnl;
extern const struct adsp machine_icl;
#endif