[PATCH 1/2] arm: imx: move spl_imx_romapi.c to imx8m/ subdirectory

Rasmus Villemoes rasmus.villemoes at prevas.dk
Fri Oct 15 11:16:52 CEST 2021

On 15/10/2021 11.02, Peng Fan (OSS) wrote:
> On 2021/10/14 20:52, Rasmus Villemoes wrote:
>> Currently, if one builds for an iMX platform != imx8m and selects
>> CONFIG_SPL_BOOTROM_SUPPORT, the build breaks because some
>> definitions (struct rom_api, the enum boot_dev_type_e and various
>> QUERY_* macros) are only exposed by the sys_proto.h header when
> i.MX8ULP also use rom api.

Sorry about that, I thought I was working on top of 2021.10, but now I
see that I was working from 2021.07, which did just have

 struct rom_api {

OK, so the first patch should go (which leaves the possibility of
selecting an option for which the build will break, but news at 11 I guess).

That leaves the second (I'll respin), along with the complete lack of
documentation of the ROM API.

There's also no documentation anywhere that I can find on the USB
protocol to use from the host for the iMX8MP, can you please provide me
with a pointer to that? E.g. the reference manual for i.MX 8M Dual/8M
QuadLite/8M Quad has a section " Serial Download Protocol (SDP)",
but there's no similar thing in the RM for i.MX 8M Plus.


More information about the U-Boot mailing list