[coreboot] New patch to review for coreboot: e650e3d mainboard/siemens/sitemp_g1p1: Fix YABEL usage

Nico Huber (nico.huber@secunet.com) gerrit at coreboot.org
Wed Nov 14 10:04:20 CET 2012


Nico Huber (nico.huber at secunet.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1854

-gerrit

commit e650e3d1543df34fff67b3efddfed420500f42c0
Author: Nico Huber <nico.huber at secunet.com>
Date:   Tue Nov 13 14:52:56 2012 +0100

    mainboard/siemens/sitemp_g1p1: Fix YABEL usage
    
    The board was broken for use with CONFIG_PCI_OPTION_ROM_RUN_YABEL.
    
    Change-Id: Ia57d630143386fe637af83b9e7345d0d3750b089
    Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
 src/mainboard/siemens/sitemp_g1p1/Makefile.inc | 2 +-
 src/mainboard/siemens/sitemp_g1p1/mainboard.c  | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/mainboard/siemens/sitemp_g1p1/Makefile.inc b/src/mainboard/siemens/sitemp_g1p1/Makefile.inc
index f93f5e0..5e137ac 100644
--- a/src/mainboard/siemens/sitemp_g1p1/Makefile.inc
+++ b/src/mainboard/siemens/sitemp_g1p1/Makefile.inc
@@ -19,5 +19,5 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 ##
 
-ramstage-y += int15_func.c
+ramstage-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += int15_func.c
 
diff --git a/src/mainboard/siemens/sitemp_g1p1/mainboard.c b/src/mainboard/siemens/sitemp_g1p1/mainboard.c
index 8a63cff..565ea56 100644
--- a/src/mainboard/siemens/sitemp_g1p1/mainboard.c
+++ b/src/mainboard/siemens/sitemp_g1p1/mainboard.c
@@ -23,6 +23,7 @@
 #include <device/device.h>
 #include <device/pci.h>
 #include <arch/io.h>
+#include <arch/interrupt.h>
 #include <delay.h>
 #include <cpu/x86/msr.h>
 #include <cpu/amd/mtrr.h>
@@ -807,14 +808,14 @@ static void smm_lock( void )
 
 static void init(device_t dev)
 {
-#if !CONFIG_PCI_OPTION_ROM_RUN_YABEL
+#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
 	INT15_function_extensions int15_func;
 #endif
 
 	printk(BIOS_DEBUG, "%s %s[%x/%x] %s\n",
 		dev_name(dev), dev_path(dev), dev->subsystem_vendor, dev->subsystem_device, __func__);
 
-#if !CONFIG_PCI_OPTION_ROM_RUN_YABEL
+#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
 	if(	get_option(&int15_func.regs.func00_LCD_panel_id, "lcd_panel_id") < 0 )
 		int15_func.regs.func00_LCD_panel_id = PANEL_TABLE_ID_NO;
 	int15_func.regs.func05_TV_standard = TV_MODE_NO;




More information about the coreboot mailing list