]> git.sur5r.net Git - u-boot/commit
riscv: bootm: Support to boot riscv-linux
authorRick Chen <rick@andestech.com>
Tue, 13 Mar 2018 06:48:33 +0000 (14:48 +0800)
committerAndes <uboot@andestech.com>
Fri, 30 Mar 2018 05:13:29 +0000 (13:13 +0800)
commit0462358b623ea965dca9a811eea2454c95a64c8e
tree95cc26045dd4a5a9ab9cebf1ea26a9531d4cf7c9
parent22e8c0f02b4f1b79ebc752c662498fb6fbe30935
riscv: bootm: Support to boot riscv-linux

riscv-linux should use BBL (Berkeley bootloader) for
loading the Linux kernel.

U-Boot can play as FSBL(first stage bootloader)
to boot BBL and riscv-linux.

In BBL's init_first_hart(), it will pass dtb with a1.
So implement bootm to pass arguments to BBL correctly.

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
arch/riscv/lib/bootm.c