diff options
author | Tom Rini <trini@konsulko.com> | 2020-04-23 08:24:47 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-23 08:24:47 -0400 |
commit | a5f9b8a8b592400a01771ad2dac76cba69c914f3 (patch) | |
tree | 23e1c8542fd35083260a97efb0d92b3485889aa1 /arch/riscv/cpu/generic/cpu.c | |
parent | caad316b3165615f1a4848901811a4a084444c9d (diff) | |
parent | 177c53fe6c64d8656f5a647116a97047202c5455 (diff) |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv
- Adds few DT related fixes required for Linux EFI stub to work on
RISC-V.
- Makes SBI v0.2 the default SBI version to work with OpenSBI v0.7.
- Revert "riscv: qemu: clear kernel-start/-end in device tree as
workaround for BBL"
- Remove unnecessary CONFIG_IS_ENABLED().
Diffstat (limited to 'arch/riscv/cpu/generic/cpu.c')
-rw-r--r-- | arch/riscv/cpu/generic/cpu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/riscv/cpu/generic/cpu.c b/arch/riscv/cpu/generic/cpu.c index c0a5288bdb..13a69ef0cc 100644 --- a/arch/riscv/cpu/generic/cpu.c +++ b/arch/riscv/cpu/generic/cpu.c @@ -4,7 +4,6 @@ */ #include <common.h> -#include <dm.h> #include <irq_func.h> /* @@ -21,16 +20,3 @@ int cleanup_before_linux(void) return 0; } - -/* To enumerate devices on the /soc/ node, create a "simple-bus" driver */ -static const struct udevice_id riscv_virtio_soc_ids[] = { - { .compatible = "riscv-virtio-soc" }, - { } -}; - -U_BOOT_DRIVER(riscv_virtio_soc) = { - .name = "riscv_virtio_soc", - .id = UCLASS_SIMPLE_BUS, - .of_match = riscv_virtio_soc_ids, - .flags = DM_FLAG_PRE_RELOC, -}; |