Split the common RISC-V boot functions into a seperate file. This allows us to share the common code. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
14 lines
456 B
Makefile
14 lines
456 B
Makefile
obj-y += boot.o
|
|
obj-$(CONFIG_SPIKE) += riscv_htif.o
|
|
obj-$(CONFIG_HART) += riscv_hart.o
|
|
obj-$(CONFIG_SIFIVE_E) += sifive_e.o
|
|
obj-$(CONFIG_SIFIVE) += sifive_clint.o
|
|
obj-$(CONFIG_SIFIVE) += sifive_gpio.o
|
|
obj-$(CONFIG_SIFIVE) += sifive_prci.o
|
|
obj-$(CONFIG_SIFIVE) += sifive_plic.o
|
|
obj-$(CONFIG_SIFIVE) += sifive_test.o
|
|
obj-$(CONFIG_SIFIVE_U) += sifive_u.o
|
|
obj-$(CONFIG_SIFIVE) += sifive_uart.o
|
|
obj-$(CONFIG_SPIKE) += spike.o
|
|
obj-$(CONFIG_RISCV_VIRT) += virt.o
|