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

2021-10-15 Thread Rasmus Villemoes
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 >>

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

2021-10-15 Thread Peng Fan (OSS)
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

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

2021-10-14 Thread Rasmus Villemoes
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 CONFIG_IMX8M=y. While it's not necessarily