[PATCH] scripts: imx-usb-loader: add i.MX8MN support

Sascha Hauer sha at pengutronix.de
Mon Aug 8 05:46:30 PDT 2022


On Fri, Aug 05, 2022 at 10:07:54AM +0200, Ahmad Fatoum wrote:
> Add VID/PID for i.MX8MN imx-usb-loader support. Everything else is
> equivalent to the i.MX8MP, which also speaks SDPS instead of the older
> more complicated SDP.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  scripts/imx/imx-usb-loader.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
> index 450ee143546d..fcc3ffc5d1b1 100644
> --- a/scripts/imx/imx-usb-loader.c
> +++ b/scripts/imx/imx-usb-loader.c
> @@ -189,6 +189,14 @@ static const struct mach_id imx_ids[] = {
>  		.max_transfer = 1020,
>  		.mode = MODE_HID,
>  		.hid_endpoint = 1,
> +	}, {
> +		.vid = 0x1fc9,
> +		.pid = 0x013e,
> +		.name = "i.MX8MN",
> +		.header_type = HDR_MX53,
> +		.max_transfer = 1020,
> +		.dev_type = MODE_HID,
> +		.hid_endpoint = 1,
>  	}, {
>  		.vid = 0x1fc9,
>  		.pid = 0x012b,
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list