mkimage-profiles/features.in/uboot/config.mk

22 lines
538 B
Makefile
Raw Normal View History

2019-06-13 16:15:41 +03:00
ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
UBOOT_TTY := use/tty/AMA0
else
2020-07-01 20:26:35 +03:00
UBOOT_TTY := use/tty/S0
2019-06-13 16:15:41 +03:00
endif
endif
2020-06-29 21:20:50 +03:00
ifeq (,$(filter-out riscv64,$(ARCH)))
UBOOT_TTY := use/tty/S0
endif
2019-06-13 16:15:41 +03:00
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
2019-05-30 12:27:25 +03:00
@$(call add_feature)
@$(call add,THE_LISTS,singleboard-tools)
2020-06-29 21:20:50 +03:00
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
2020-06-29 20:23:03 +03:00
@$(call add,BASE_BOOTARGS,cma=192M)
2020-06-29 21:20:50 +03:00
endif
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call add,BASE_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
endif