uboot: Add UBOOT_BOOTARGS instead BASE_BOOTARGS

When loading u-boot + extlinux.conf, needs specific arguments that
are not needed when using grub-efi
This commit is contained in:
Anton Midyukov 2020-07-20 19:52:26 +07:00
parent 2614e192be
commit 1c1612e9ec
2 changed files with 4 additions and 3 deletions

View File

@ -14,8 +14,9 @@ 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)
@$(call add,UBOOT_BOOTARGS,cma=192M)
endif
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call add,BASE_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
endif
@$(call xport,UBOOT_BOOTARGS)

View File

@ -17,5 +17,5 @@ label linux
kernel /boot/vmlinuz
initrd /boot/initrd.img
fdtdir /boot/dtb
append root=LABEL=ROOT ro $GLOBAL_BASE_BOOTARGS $TTY
append root=LABEL=ROOT ro $GLOBAL_BASE_BOOTARGS $GLOBAL_UBOOT_BOOTARGS $TTY
EOF