build: consolidate CONFIG_HAS_VGA and CONFIG_VGA
PATCH 1/2 build: consolidate CONFIG_HAS_VGA and CONFIG_VGA
No real advantage to keeping these separate. The use case of this from Linux is when the platform or target board has support for something but the user wants to be given the option to disable it.
---
CC: Keir Fraser <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Andrew Cooper <[email protected]>
--- xen/arch/x86/Kconfig | 2 +- xen/drivers/video/Kconfig | 4 ++-- xen/drivers/video/Makefile | 4 ++-- xen/include/asm-x86/config.h | 1 - 4 files changed, 5 insertions(+), 6 deletions(-)
xen/arch/x86/Kconfig +1 -1
@@ -19,8 +19,8 @@ config X86 select HAS_PASSTHROUGH select HAS_PCI select HAS_PDX - select HAS_VGA select NUMA + select VGA config ARCH_DEFCONFIG string
xen/drivers/video/Kconfig +2 -2
@@ -3,8 +3,8 @@ config HAS_VIDEO bool -# Select HAS_VGA if VGA is supported -config HAS_VGA +# Select VGA if VGA is supported +config VGA bool select HAS_VIDEO
xen/drivers/video/Makefile +2 -2
@@ -1,7 +1,7 @@ -obj-$(CONFIG_HAS_VGA) := vga.o +obj-$(CONFIG_VGA) := vga.o obj-$(CONFIG_HAS_VIDEO) += font_8x14.o obj-$(CONFIG_HAS_VIDEO) += font_8x16.o obj-$(CONFIG_HAS_VIDEO) += font_8x8.o obj-$(CONFIG_HAS_VIDEO) += lfb.o -obj-$(CONFIG_HAS_VGA) += vesa.o +obj-$(CONFIG_VGA) += vesa.o obj-$(CONFIG_HAS_ARM_HDLCD) += arm_hdlcd.o
xen/include/asm-x86/config.h +0 -1
@@ -42,7 +42,6 @@#define CONFIG_ACPI_SRAT 1#define CONFIG_ACPI_CSTATE 1 -#define CONFIG_VGA 1#define CONFIG_VIDEO 1#define CONFIG_WATCHDOG 1
Signature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
PATCH 2/2 build: consolidate CONFIG_HAS_VIDEO and CONFIG_VIDEO
No real advantage to keeping these separate. The use case of this from Linux is when the platform or target board has support for something but the user wants to be given the option to disable it.
---
CC: Ian Campbell <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Keir Fraser <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Andrew Cooper <[email protected]>
--- xen/arch/arm/Kconfig | 2 +- xen/drivers/Makefile | 2 +- xen/drivers/video/Kconfig | 6 +++--- xen/drivers/video/Makefile | 8 ++++---- xen/include/asm-arm/config.h | 2 -- xen/include/asm-x86/config.h | 2 -- 6 files changed, 9 insertions(+), 13 deletions(-)
xen/arch/arm/Kconfig +1 -1
@@ -22,7 +22,7 @@ config ARM select HAS_MEM_ACCESS select HAS_PASSTHROUGH select HAS_PDX - select HAS_VIDEO + select VIDEO config ARCH_DEFCONFIG string
xen/drivers/Makefile +1 -1
@@ -3,4 +3,4 @@ subdir-$(CONFIG_HAS_CPUFREQ) += cpufreq subdir-$(CONFIG_HAS_PCI) += pci subdir-$(CONFIG_HAS_PASSTHROUGH) += passthrough subdir-$(CONFIG_ACPI) += acpi -subdir-$(CONFIG_HAS_VIDEO) += video +subdir-$(CONFIG_VIDEO) += video
xen/drivers/video/Kconfig +3 -3
@@ -1,12 +1,12 @@ -# Select HAS_VIDEO if video is supported -config HAS_VIDEO +# Select VIDEO if video is supported +config VIDEO bool # Select VGA if VGA is supported config VGA bool - select HAS_VIDEO + select VIDEO # Select HAS_ARM_HDLCD if ARM HDLCD is supported config HAS_ARM_HDLCD
xen/drivers/video/Makefile +4 -4
@@ -1,7 +1,7 @@ obj-$(CONFIG_VGA) := vga.o -obj-$(CONFIG_HAS_VIDEO) += font_8x14.o -obj-$(CONFIG_HAS_VIDEO) += font_8x16.o -obj-$(CONFIG_HAS_VIDEO) += font_8x8.o -obj-$(CONFIG_HAS_VIDEO) += lfb.o +obj-$(CONFIG_VIDEO) += font_8x14.o +obj-$(CONFIG_VIDEO) += font_8x16.o +obj-$(CONFIG_VIDEO) += font_8x8.o +obj-$(CONFIG_VIDEO) += lfb.o obj-$(CONFIG_VGA) += vesa.o obj-$(CONFIG_HAS_ARM_HDLCD) += arm_hdlcd.o
xen/include/asm-arm/config.h +0 -2
@@ -33,8 +33,6 @@#define CONFIG_SMP 1 -#define CONFIG_VIDEO 1 -#define CONFIG_IRQ_HAS_MULTIPLE_ACTION 1#define CONFIG_PAGEALLOC_MAX_ORDER 18
xen/include/asm-x86/config.h +0 -2
@@ -42,8 +42,6 @@#define CONFIG_ACPI_SRAT 1#define CONFIG_ACPI_CSTATE 1 -#define CONFIG_VIDEO 1 -#define CONFIG_WATCHDOG 1#define CONFIG_MULTIBOOT 1
Signature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 5 lines · Doug Goldstein
No real advantage to keeping these separate. The use case of this from Linux is when the platform or target board has support for something but the user wants to be given the option to disable it.
Signed-off-by Doug Goldstein <[email protected]>
.. Need
Quoted 9 lines
---
CC: Keir Fraser <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Andrew Cooper <[email protected]>--- xen/arch/x86/Kconfig | 2 +- xen/drivers/video/Kconfig | 4 ++-- xen/drivers/video/Makefile | 4 ++-- xen/include/asm-x86/config.h | 1 -
.. an x86 maintainer before this can be committed.
Quoted 65 lines
4 files changed, 5 insertions(+), 6 deletions(-)xen/arch/x86/Kconfig +1
-1@@ -19,8 +19,8 @@ config X86 select HAS_PASSTHROUGH select HAS_PCI select HAS_PDX - select HAS_VGA select NUMA + select VGA config ARCH_DEFCONFIG stringxen/drivers/video/Kconfig +2
-2@@ -3,8 +3,8 @@ config HAS_VIDEO bool -# Select HAS_VGA if VGA is supported -config HAS_VGA +# Select VGA if VGA is supported +config VGA bool select HAS_VIDEOxen/drivers/video/Makefile +2
-2@@ -1,7 +1,7 @@ -obj-$(CONFIG_HAS_VGA) := vga.o +obj-$(CONFIG_VGA) := vga.o obj-$(CONFIG_HAS_VIDEO) += font_8x14.o obj-$(CONFIG_HAS_VIDEO) += font_8x16.o obj-$(CONFIG_HAS_VIDEO) += font_8x8.o obj-$(CONFIG_HAS_VIDEO) += lfb.o -obj-$(CONFIG_HAS_VGA) += vesa.o +obj-$(CONFIG_VGA) += vesa.o obj-$(CONFIG_HAS_ARM_HDLCD) += arm_hdlcd.oxen/include/asm-x86/config.h +0
-1@@ -42,7 +42,6 @@#define CONFIG_ACPI_SRAT 1#define CONFIG_ACPI_CSTATE 1 -#define CONFIG_VGA 1#define CONFIG_VIDEO 1#define CONFIG_WATCHDOG 1Signature · 7 lines
2.4.10 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel