]> git.baikalelectronics.ru Git - uboot.git/commit
imx8: use ROM API wrappers in spl_imx_romapi.c
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 20 Jun 2022 08:53:20 +0000 (10:53 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 13:35:34 +0000 (15:35 +0200)
commit05a8a796cd5c5daabd2725aa8e041dc793dcb6ad
tree4e5dd7b6a479f69c3b07506f1330a33caf93fe73
parentf17ec6198ee53f68fae4178ccbb5d097898efc9e
imx8: use ROM API wrappers in spl_imx_romapi.c

Simplify the use of the ROM API by using the wrappers that take care
of saving/restoring gd and computing the xor value. This makes the
generated code smaller and the C code easier to read.

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