uboot: Added riscv64 support

This commit is contained in:
Anton Midyukov 2020-06-30 01:20:50 +07:00
parent e5b42f45da
commit 5ab897cf40
2 changed files with 12 additions and 1 deletions

View File

@ -6,7 +6,16 @@ UBOOT_TTY := use/tty/S0
endif
endif
ifeq (,$(filter-out riscv64,$(ARCH)))
UBOOT_TTY := use/tty/S0
endif
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
@$(call add_feature)
@$(call add,THE_LISTS,singleboard-tools)
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
@$(call add,BASE_BOOTARGS,cma=192M)
endif
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call add,BASE_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
endif

View File

@ -2,4 +2,6 @@ raspberrypi-firmware@ARM
u-boot-meson@aarch64
u-boot-sunxi@ARM
u-boot-rockchip@aarch64
u-boot-hifive-unleashed@riscv64
fu540-bootloaders@riscv64
opensbi-firmware-fu540@riscv64
opensbi-firmware-qemu@riscv64