[U-Boot] [PATCH 28/30] riscv: align bootm implementation with that of other architectures

Bin Meng bmeng.cn at gmail.com
Mon Oct 22 09:35:31 UTC 2018


On Sat, Oct 20, 2018 at 6:11 AM Lukas Auer
<lukas.auer at aisec.fraunhofer.de> wrote:
>
> The bootm implementation of RISC-V diverges from that of other
> architectures. Update it to match the implementation of other
> architectures. The ARM implementation is used as a reference.
>
> This adds the following features and changes to RISC-V.
> * Add support for the BOOTM_STATE_OS_FAKE_GO command
> * Call the remove function on devices with the removal flag set before
> booting Linux
> * Force disconnect USB devices from the host before booting Linux
> * Print and add bootstage information to the device tree before booting
> Linux
>
> Signed-off-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> ---
>
>  arch/riscv/lib/bootm.c | 94 ++++++++++++++++++++++++++++++++----------
>  1 file changed, 72 insertions(+), 22 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list