[SeaBIOS] [PATCH 10/13] geodevga: get rid of vp_setup()

Christian Gmeiner christian.gmeiner at gmail.com
Fri Oct 5 18:07:33 CEST 2012


Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 vgasrc/geodevga.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/vgasrc/geodevga.c b/vgasrc/geodevga.c
index e5cd39c..8462ebd 100644
--- a/vgasrc/geodevga.c
+++ b/vgasrc/geodevga.c
@@ -263,20 +263,6 @@ static void geodevga_graphics_enable(void)
     }
 }
 
-/* Setup the vp (video processor) portion of the geodelx
-*  Under VGA modes the vp was handled by softvg from inside VSA2.
-*  Without a softvg module, access is only available through a pci bar.
-*  The High Mem Access virtual register is used to  configure the
-*   pci mmio bar from 16bit friendly io space.
-*/
-static void vp_setup(void)
-{
-    dprintf(2,"VP_SETUP\n");
-
-    geodevga_set_ouput_mode();    
-    geodevga_graphics_enable();
-}
-
 int geodevga_set_mode(struct vgamode_s *vmode_g, int flags)
 {
     u32 dcfg = 0;
@@ -417,7 +403,8 @@ int geodevga_init(void)
     SET_VGA(VBE_framebuffer, fb);
     SET_VGA(VBE_total_memory, fb_size / 1024 / 64); // number of 64K blocks
     
-    vp_setup();
+    geodevga_set_ouput_mode();    
+    geodevga_graphics_enable();
 
     return 0;
 }
-- 
1.7.12.2.421.g261b511




More information about the SeaBIOS mailing list