[U-Boot] [PATCH 11/12] riscv: Modify generic codes to support RISC-V