Merge pull request #2 from dbaluta/db

rimage: Add support for i.MX8X
This commit is contained in:
Liam Girdwood 2020-01-14 13:41:10 +00:00 committed by GitHub
commit 502b5817e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 1 deletions

View File

@ -573,3 +573,26 @@ const struct adsp machine_imx8 = {
.machine_id = MACHINE_IMX8,
.write_firmware = simple_write_firmware,
};
const struct adsp machine_imx8x = {
.name = "imx8x",
.mem_zones = {
[SOF_FW_BLK_TYPE_IRAM] = {
.base = IMX8_IRAM_BASE,
.size = IMX8_IRAM_SIZE,
.host_offset = IMX8_IRAM_HOST_OFFSET,
},
[SOF_FW_BLK_TYPE_DRAM] = {
.base = IMX8_DRAM_BASE,
.size = IMX8_DRAM_SIZE,
.host_offset = 0,
},
[SOF_FW_BLK_TYPE_SRAM] = {
.base = IMX8_SRAM_BASE,
.size = IMX8_SRAM_SIZE,
.host_offset = 0,
},
},
.machine_id = MACHINE_IMX8X,
.write_firmware = simple_write_firmware,
};

View File

@ -38,6 +38,7 @@ enum machine_id {
MACHINE_TIGERLAKE,
MACHINE_SUECREEK,
MACHINE_IMX8,
MACHINE_IMX8X,
MACHINE_MAX
};
@ -206,6 +207,6 @@ extern const struct adsp machine_sue;
extern const struct adsp machine_skl;
extern const struct adsp machine_kbl;
extern const struct adsp machine_imx8;
extern const struct adsp machine_imx8x;
#endif

View File

@ -26,6 +26,7 @@ static const struct adsp *machine[] = {
&machine_kbl,
&machine_skl,
&machine_imx8,
&machine_imx8x,
};
static void usage(char *name)