scripts: imx-usb-loader: Fix i.MX8MM
Most things valid for the i.MX8MQ are needed for the i.MX8MM as well, so
add a common macro which returns true for both SoCs and use it where
appropriate. Also we have to search for the i.MX header in a bigger area
as it is at offset 33KiB.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 59ec71f commit b8cb663ac9fd627c9ee5efca1ca644385680e680
@Sascha Hauer Sascha Hauer authored on 24 Feb 2020
Showing 4 changed files
View
scripts/imx/imx-image.c
View
scripts/imx/imx-usb-loader.c
View
scripts/imx/imx.c
View
scripts/imx/imx.h