]> git.dujemihanovic.xyz Git - u-boot.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)
commitf8001fdd2ca79712b5d1d5202f29d4ee1110f420
tree4e5dd7b6a479f69c3b07506f1330a33caf93fe73
parent748da8abb0d020bedbfa4dbc7b3cafdaf9bc60f1
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