public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/6] imx8 ROM API cleanup
@ 2022-06-20  8:53 Rasmus Villemoes
  2022-06-20  8:53 ` [PATCH v2 1/6] imx8: add hidden IMX8_ROMAPI Kconfig symbol Rasmus Villemoes
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Rasmus Villemoes @ 2022-06-20  8:53 UTC (permalink / raw)
  To: u-boot
  Cc: Fabio Estevam, Stefano Babic, Peng Fan, Marek Vasut,
	NXP i . MX U-Boot Team, Tom Rini, Rasmus Villemoes

The meat of this is patch 3, and the main simplification it offers is
patch 4.

I have private board code where I will need to fetch some data over
USB during bootstrapping, so having a more convenient API would be
useful. But I do believe these patches make sense in their own right.

v2: The original patches were accidentally not sent to the main U-Boot
list, but only uboot-imx@nxp.com and a few individuals.

Peng Fan replied with a R-b for the series, which I've included here
for the first five patches. In patch 6, I missed a place to convert in
the same file, so this is done here, but since the patch is not
identical I've elided the R-b.

Rasmus Villemoes (6):
  imx8: add hidden IMX8_ROMAPI Kconfig symbol
  imx8: sys_proto.h: change guard logic around ROM API
  imx8: add rom api wrappers
  imx8: use ROM API wrappers in spl_imx_romapi.c
  imx8m: soc.c: use rom_api_query_boot_infor() wrapper
  imx8ulp: soc.c: use rom_api_query_boot_infor() wrapper

 arch/arm/include/asm/mach-imx/sys_proto.h |  6 ++-
 arch/arm/mach-imx/Kconfig                 |  6 ++-
 arch/arm/mach-imx/Makefile                |  1 +
 arch/arm/mach-imx/imx8m/soc.c             |  5 +--
 arch/arm/mach-imx/imx8ulp/soc.c           | 10 +----
 arch/arm/mach-imx/romapi.c                | 30 +++++++++++++++
 arch/arm/mach-imx/spl_imx_romapi.c        | 47 ++++++-----------------
 7 files changed, 55 insertions(+), 50 deletions(-)
 create mode 100644 arch/arm/mach-imx/romapi.c

-- 
2.31.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-07-25 16:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-20  8:53 [PATCH v2 0/6] imx8 ROM API cleanup Rasmus Villemoes
2022-06-20  8:53 ` [PATCH v2 1/6] imx8: add hidden IMX8_ROMAPI Kconfig symbol Rasmus Villemoes
2022-07-25 16:42   ` sbabic
2022-06-20  8:53 ` [PATCH v2 2/6] imx8: sys_proto.h: change guard logic around ROM API Rasmus Villemoes
2022-07-25 16:41   ` sbabic
2022-06-20  8:53 ` [PATCH v2 3/6] imx8: add rom api wrappers Rasmus Villemoes
2022-07-25 16:40   ` sbabic
2022-06-20  8:53 ` [PATCH v2 4/6] imx8: use ROM API wrappers in spl_imx_romapi.c Rasmus Villemoes
2022-07-25 16:40   ` sbabic
2022-06-20  8:53 ` [PATCH v2 5/6] imx8m: soc.c: use rom_api_query_boot_infor() wrapper Rasmus Villemoes
2022-07-25 16:40   ` sbabic
2022-06-20  8:53 ` [PATCH v2 6/6] imx8ulp: " Rasmus Villemoes
2022-07-25 16:42   ` sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox