summaryrefslogtreecommitdiff
path: root/arch/riscv/cpu/generic/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/cpu/generic/cpu.c')
-rw-r--r--arch/riscv/cpu/generic/cpu.c14
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,
-};