mirror of https://github.com/thesofproject/sof.git
commit
502b5817e3
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -26,6 +26,7 @@ static const struct adsp *machine[] = {
|
|||
&machine_kbl,
|
||||
&machine_skl,
|
||||
&machine_imx8,
|
||||
&machine_imx8x,
|
||||
};
|
||||
|
||||
static void usage(char *name)
|
||||
|
|
Loading…
Reference in New Issue