commit | 4a9b1b0925861da9e57124fbdf086d8f8d934649 | [log] [tgz] |
---|---|---|
author | Yao Zi <ziyao@disroot.org> | Thu Jan 23 09:11:33 2025 +0000 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Mon Feb 03 15:26:06 2025 +0800 |
tree | da438cead2611b31c01f4664d58c6c72202a6aa9 | |
parent | 1cf86c6bb5fbfa6554a6122a5fb60c54b093e21c [diff] |
riscv: add a generic implementation for cleanup_before_linux() 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@disroot.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>