mirror of https://github.com/thesofproject/sof.git
rimage: Add support for i.MX8X
i.MX8X is very similar with i.MX8. Memory layout is the same except IRQSTEER address. Code will be shared but there will be different firmware binaries named: * sof-imx8.ri, for i.MX8 * sof-imx8x.ri, for i.MX8X Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
parent
d44130e994
commit
5f0b1fd4f4
|
@ -568,3 +568,26 @@ const struct adsp machine_imx8 = {
|
||||||
.machine_id = MACHINE_IMX8,
|
.machine_id = MACHINE_IMX8,
|
||||||
.write_firmware = simple_write_firmware,
|
.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,
|
||||||
|
};
|
||||||
|
|
|
@ -27,6 +27,7 @@ static const struct adsp *machine[] = {
|
||||||
&machine_kbl,
|
&machine_kbl,
|
||||||
&machine_skl,
|
&machine_skl,
|
||||||
&machine_imx8,
|
&machine_imx8,
|
||||||
|
&machine_imx8x,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void usage(char *name)
|
static void usage(char *name)
|
||||||
|
|
|
@ -38,6 +38,7 @@ enum machine_id {
|
||||||
MACHINE_TIGERLAKE,
|
MACHINE_TIGERLAKE,
|
||||||
MACHINE_SUECREEK,
|
MACHINE_SUECREEK,
|
||||||
MACHINE_IMX8,
|
MACHINE_IMX8,
|
||||||
|
MACHINE_IMX8X,
|
||||||
MACHINE_MAX
|
MACHINE_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -193,6 +194,6 @@ extern const struct adsp machine_sue;
|
||||||
extern const struct adsp machine_skl;
|
extern const struct adsp machine_skl;
|
||||||
extern const struct adsp machine_kbl;
|
extern const struct adsp machine_kbl;
|
||||||
extern const struct adsp machine_imx8;
|
extern const struct adsp machine_imx8;
|
||||||
|
extern const struct adsp machine_imx8x;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue