]> git.baikalelectronics.ru Git - uboot.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)
commit3365659c3890a0134ee1478f040cbbdb8bf369ba
treea476c0610a9b8541449de2e4e7391ae6c287aa0c
parent6503cf18714b182f707bc5388a8f3972f524e1f2
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