[PATCH 0/2] imx8m rom api fixups

Rasmus Villemoes rasmus.villemoes at prevas.dk
Thu Oct 14 14:52:53 CEST 2021


While trying to figure out why I can't get an imx8mp to boot via usb
serial download, I stumbled on the distinct lack of documentation on
both the ROM API and the USB protocol, and what appears to be an
actual bug in the rom api interface code.

Rasmus Villemoes (2):
  arm: imx: move spl_imx_romapi.c to imx8m/ subdirectory
  arm: imx8m: sanitize use of ROM API

 arch/arm/include/asm/mach-imx/sys_proto.h     |  5 ++-
 arch/arm/mach-imx/Makefile                    |  2 -
 arch/arm/mach-imx/imx8m/Makefile              |  1 +
 arch/arm/mach-imx/imx8m/soc.c                 | 33 +++++++++++---
 .../arm/mach-imx/{ => imx8m}/spl_imx_romapi.c | 45 +++++--------------
 5 files changed, 42 insertions(+), 44 deletions(-)
 rename arch/arm/mach-imx/{ => imx8m}/spl_imx_romapi.c (80%)

-- 
2.31.1



More information about the U-Boot mailing list