9
0
Fork 0

scripts: imx: add support for i.MX50

Add imximg support for i.MX50 processors which use the i.MX flash
header v2 format.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Kurz 2016-09-09 17:43:40 +02:00 committed by Sascha Hauer
parent cf4414f7a2
commit 2f9ff8a8f7
3 changed files with 5 additions and 1 deletions

View File

@ -274,7 +274,7 @@ static int write_mem_v1(uint32_t addr, uint32_t val, int width, int set_bits, in
/*
* ============================================================================
* i.MX flash header v2 handling. Found on i.MX53 and i.MX6
* i.MX flash header v2 handling. Found on i.MX50, i.MX53 and i.MX6
* ============================================================================
*/

View File

@ -90,6 +90,9 @@ struct mach_id imx_ids[] = {
.vid = 0x15a2,
.pid = 0x0052,
.name = "i.MX50",
.header_type = HDR_MX53,
.mode = MODE_HID,
.max_transfer = 1024,
}, {
.vid = 0x15a2,
.pid = 0x0054,

View File

@ -219,6 +219,7 @@ struct soc_type {
static struct soc_type socs[] = {
{ .name = "imx25", .header_version = 1, .cpu_type = IMX_CPU_IMX25 },
{ .name = "imx35", .header_version = 1, .cpu_type = IMX_CPU_IMX35 },
{ .name = "imx50", .header_version = 2, .cpu_type = IMX_CPU_IMX50 },
{ .name = "imx51", .header_version = 1, .cpu_type = IMX_CPU_IMX51 },
{ .name = "imx53", .header_version = 2, .cpu_type = IMX_CPU_IMX53 },
{ .name = "imx6", .header_version = 2, .cpu_type = IMX_CPU_IMX6 },