Skip to contentSkip to conversation

x86: Remove the old VGA driver

PATCH New Bin Meng 2 participants 5 messages Apr 13, 2015 – Apr 20, 2015 x86

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 x86: Remove the old VGA driver

CONFIG_VIDEO_VGA is no longer needed thus remove it.

---

 README                |   6 --
 arch/x86/lib/Makefile |   1 -
 arch/x86/lib/video.c  | 205 --------------------------------------------------
 3 files changed, 212 deletions(-)
 delete mode 100644 arch/x86/lib/video.c
README +0 -6
index 9b748cc..562cceb 100644
@@ -1865,12 +1865,6 @@ CBFS (Coreboot Filesystem) support
 		boot.  See the documentation file README.video for a
 		description of this variable.
 
-		CONFIG_VIDEO_VGA
-
-		Enable the VGA video / BIOS for x86. The alternative if you
-		are using coreboot is to use the coreboot frame buffer
-		driver.
-
 
 - Keyboard Support:
 		CONFIG_KEYBOARD
arch/x86/lib/Makefile +0 -1
index c17f7f0..ad760c0 100644
@@ -23,7 +23,6 @@ obj-y += physmem.o
 obj-$(CONFIG_X86_RAMTEST) += ramtest.o
 obj-y	+= string.o
 obj-$(CONFIG_SYS_X86_TSC_TIMER)	+= tsc_timer.o
-obj-$(CONFIG_VIDEO_VGA)	+= video.o
 obj-$(CONFIG_CMD_ZBOOT)	+= zimage.o
 obj-$(CONFIG_HAVE_FSP) += fsp/
 
arch/x86/lib/video.c deleted +0 -205

205 lines not on this page · raw message

Signature · 1 line
1.8.2.1
#1 lore raw

PATCH 1/1 x86: Remove the old VGA driver

Hi Bin,

Quoted 10 lines · Bin Meng

CONFIG_VIDEO_VGA is no longer needed thus remove it.

---

 README                |   6 --
 arch/x86/lib/Makefile |   1 -
 arch/x86/lib/video.c  | 205 --------------------------------------------------
 3 files changed, 212 deletions(-)
 delete mode 100644 arch/x86/lib/video.c

I played around with a patch that someone sent a few years ago to enable VGA support in cfb_console (likely a misuse of that file).

Do you think there is no use for this file? We could perhaps make it an option to use it, and move it to drivers/video?

Regards,
Simon

author
#2 lore raw

PATCH 1/1 x86: Remove the old VGA driver

Hi Simon,

Quoted 14 lines · Simon Glass

Hi Bin,

Quoted 10 lines · Bin Meng

CONFIG_VIDEO_VGA is no longer needed thus remove it.

---

 README                |   6 --
 arch/x86/lib/Makefile |   1 -
 arch/x86/lib/video.c  | 205 --------------------------------------------------
 3 files changed, 212 deletions(-)
 delete mode 100644 arch/x86/lib/video.c
Quoted 6 lines

I played around with a patch that someone sent a few years ago to enable VGA support in cfb_console (likely a misuse of that file).

Do you think there is no use for this file? We could perhaps make it an option to use it, and move it to drivers/video?

I am not sure how this file is useful. I found no board is using this so probably no use. But I may be wrong. Is this driver to be used without vbios support (CONFIG_VIDEO_VESA)?

Regards,
Bin

#3 lore raw

PATCH 1/1 x86: Remove the old VGA driver

Hi Bin,

Quoted 20 lines · Bin Meng

Hi Simon,

Quoted 17 lines · Simon Glass

Hi Bin,

Quoted 10 lines · Bin Meng

CONFIG_VIDEO_VGA is no longer needed thus remove it.

---

 README                |   6 --
 arch/x86/lib/Makefile |   1 -
 arch/x86/lib/video.c  | 205 --------------------------------------------------
 3 files changed, 212 deletions(-)
 delete mode 100644 arch/x86/lib/video.c

I played around with a patch that someone sent a few years ago to enable VGA support in cfb_console (likely a misuse of that file).

Quoted 7 lines
Quoted 3 lines

Do you think there is no use for this file? We could perhaps make it an option to use it, and move it to drivers/video?

I am not sure how this file is useful. I found no board is using this so probably no use. But I may be wrong. Is this driver to be used without vbios support (CONFIG_VIDEO_VESA)?

I suspect so. Still as you say, no boards use it and we can always bring it back (perhaps as a proper video driver) when we want it.

Regards,
Simon

#4 lore raw

PATCH 1/1 x86: Remove the old VGA driver

Quoted 27 lines · Simon Glass

Hi Bin,

Quoted 24 lines · Bin Meng

Hi Simon,

Quoted 20 lines · Simon Glass

Hi Bin,

Quoted 10 lines · Bin Meng

CONFIG_VIDEO_VGA is no longer needed thus remove it.

---

 README                |   6 --
 arch/x86/lib/Makefile |   1 -
 arch/x86/lib/video.c  | 205 --------------------------------------------------
 3 files changed, 212 deletions(-)
 delete mode 100644 arch/x86/lib/video.c

I played around with a patch that someone sent a few years ago to enable VGA support in cfb_console (likely a misuse of that file).

Do you think there is no use for this file? We could perhaps make it an option to use it, and move it to drivers/video?

Quoted 8 lines
Quoted 3 lines

I am not sure how this file is useful. I found no board is using this so probably no use. But I may be wrong. Is this driver to be used without vbios support (CONFIG_VIDEO_VESA)?

I suspect so. Still as you say, no boards use it and we can always bring it back (perhaps as a proper video driver) when we want it.

Applied to u-boot-x86, thanks!