]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: qemu: Remove out-of-date "riscv, kernel-start" handling
authorBin Meng <bmeng@tinylab.org>
Sun, 23 Jul 2023 04:40:40 +0000 (12:40 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 08:32:41 +0000 (16:32 +0800)
commit124308e67b6e1b6597ef34899211abac9bf7fd60
treeece12247495733d43d26113d2511ef44ae1b042e
parent608b80b5b855d0c55a5fa7de11c1338bf2541855
riscv: qemu: Remove out-of-date "riscv, kernel-start" handling

Commit 66ffe57 ("riscv: qemu: detect and boot the kernel passed by QEMU")
added some logic to handle "riscv,kernel-start" in DT and stored the
address to an environment variable kernel_start.

However this "riscv,kernel-start" has never been an upstream DT binding.
The upstream QEMU never generates such a DT either. Presumably U-Boot
development was based on a downstream QEMU fork.

Now we drop all codes in commit 66ffe57, except that BOARD_LATE_INIT
is kept for later use.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/emulation/qemu-riscv/qemu-riscv.c
include/configs/qemu-riscv.h