diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2022-06-20 10:53:18 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-07-25 15:35:34 +0200 |
commit | de20c5d405a39cd4560495c342412e388fa73a52 (patch) | |
tree | a476c0610a9b8541449de2e4e7391ae6c287aa0c /arch/arm/include | |
parent | 8e290150e3b030f571badb88ac889f0b5d2667c0 (diff) | |
download | u-boot-de20c5d405a39cd4560495c342412e388fa73a52.zip u-boot-de20c5d405a39cd4560495c342412e388fa73a52.tar.gz u-boot-de20c5d405a39cd4560495c342412e388fa73a52.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/mach-imx/sys_proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h index fdbbfb1..0281619 100644 --- a/arch/arm/include/asm/mach-imx/sys_proto.h +++ b/arch/arm/include/asm/mach-imx/sys_proto.h @@ -146,7 +146,7 @@ struct rproc_att { u32 size; /* size of reg range */ }; -#if defined(CONFIG_IMX8M) || defined(CONFIG_IMX8ULP) +#if defined(CONFIG_IMX8_ROMAPI) struct rom_api { u16 ver; u16 tag; |