config.mk 641 Bytes
Newer Older
1 2 3 4
ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
UBOOT_TTY := use/tty/AMA0
else
Anton Midyukov's avatar
Anton Midyukov committed
5
UBOOT_TTY := use/tty/S0
6 7 8
endif
endif

9 10 11 12
ifeq (,$(filter-out riscv64,$(ARCH)))
UBOOT_TTY := use/tty/S0
endif

13
ifneq (,$(filter-out i586 x86_64,$(ARCH)))
14
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
15 16
	@$(call add_feature)
	@$(call add,THE_LISTS,singleboard-tools)
17
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
18
	@$(call add,UBOOT_BOOTARGS,cma=192M)
19 20
endif
ifeq (,$(filter-out riscv64,$(ARCH)))
21
	@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
22
endif
23
	@$(call xport,UBOOT_BOOTARGS)
24 25 26
else
use/uboot: ; @:
endif