[PATCH v2 4/6] imx8: use ROM API wrappers in spl_imx_romapi.c

2022-07-25 Thread sbabic
> 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 > Signed-off-by: Rasmus Villemoes Applied to u-boot-imx, master, thanks !

[PATCH v2 4/6] imx8: use ROM API wrappers in spl_imx_romapi.c

2022-06-20 Thread Rasmus Villemoes
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 Signed-off-by: Rasmus Villemoes --- arch/arm/mach-imx/spl_imx_romapi.c | 47