[RFC PATCH 1/3] riscv: add a generic implementation for cleanup_before_linux()
Leo Liang
ycliang at andestech.com
Mon Feb 3 04:51:35 CET 2025
On Thu, Jan 23, 2025 at 09:11:33AM +0000, Yao Zi wrote:
> Most RISC-V SoCs have similar cleanup_before_linux() functions. Let's
> provide a weak symbol as fallback to reduce duplicated code.
>
> Signed-off-by: Yao Zi <ziyao at disroot.org>
> ---
> arch/riscv/cpu/cpu.c | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list