diff --git a/config/Config-images.in b/config/Config-images.in index 39e7f84ba..12d579278 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -223,6 +223,11 @@ menu "Target Images" depends on GRUB_IMAGES || GRUB_EFI_IMAGES default y + config GRUB_SERIAL + string "Serial port device" + depends on GRUB_IMAGES || GRUB_EFI_IMAGES + default "ttyS0" + config GRUB_BAUDRATE int "Serial port baud rate" depends on GRUB_IMAGES || GRUB_EFI_IMAGES @@ -231,8 +236,7 @@ menu "Target Images" config GRUB_FLOWCONTROL bool "Use RTE/CTS on serial console" - depends on GRUB_IMAGES || GRUB_EFI_IMAGES - depends on TARGET_SERIAL != "" + depends on GRUB_SERIAL != "" default n config GRUB_BOOTOPTS @@ -285,11 +289,6 @@ menu "Target Images" depends on GRUB_IMAGES || GRUB_EFI_IMAGES select PACKAGE_kmod-e1000 - config TARGET_SERIAL - string "Serial port device" - depends on TARGET_x86 || TARGET_armvirt || TARGET_loongarch64 - default "ttyS0" - config TARGET_IMAGES_GZIP bool "GZip images" depends on TARGET_ROOTFS_EXT4FS || TARGET_x86 || TARGET_armvirt || TARGET_malta || TARGET_loongarch64