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:
parent
2614e192be
commit
1c1612e9ec
@ -14,8 +14,9 @@ use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
|
|||||||
@$(call add_feature)
|
@$(call add_feature)
|
||||||
@$(call add,THE_LISTS,singleboard-tools)
|
@$(call add,THE_LISTS,singleboard-tools)
|
||||||
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
|
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
|
||||||
@$(call add,BASE_BOOTARGS,cma=192M)
|
@$(call add,UBOOT_BOOTARGS,cma=192M)
|
||||||
endif
|
endif
|
||||||
ifeq (,$(filter-out riscv64,$(ARCH)))
|
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
|
endif
|
||||||
|
@$(call xport,UBOOT_BOOTARGS)
|
||||||
|
@ -17,5 +17,5 @@ label linux
|
|||||||
kernel /boot/vmlinuz
|
kernel /boot/vmlinuz
|
||||||
initrd /boot/initrd.img
|
initrd /boot/initrd.img
|
||||||
fdtdir /boot/dtb
|
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
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user