]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8: sys_proto.h: change guard logic around ROM API
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 20 Jun 2022 08:53:18 +0000 (10:53 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 13:35:34 +0000 (15:35 +0200)
commitde20c5d405a39cd4560495c342412e388fa73a52
treea476c0610a9b8541449de2e4e7391ae6c287aa0c
parent8e290150e3b030f571badb88ac889f0b5d2667c0
imx8: sys_proto.h: change guard logic around ROM API

This exposes the struct rom_api, the g_rom_api variable declaration
and the associated #defines to slightly fewer boards: namely, those
IMX8M which are not IMX8MN or IMX8MP. But the latter two are the only
IMX8M* ones where the g_rom_api variable is defined (in imx8m/soc.c),
so that should be fine.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
arch/arm/include/asm/mach-imx/sys_proto.h