Patchwork read_option() in sitemp_g1p1/romstage.c

login
register
about
Submitter Josef Kellermann
Date 2011-05-12 13:16:41
Message ID <4DCBDDB9.3080406@arcor.de>
Download mbox | patch
Permalink /patch/2962/
State Accepted
Commit r6569
Headers show

Comments

Josef Kellermann - 2011-05-12 13:16:41
attached patch changes read_option() in 
mainboard/siemens/sitemp_g1p1/romstage.c.

Signed-off-by: Josef Kellermann <seppk@arcor.de> <mailto://seppk@arcor.de>
Patrick Georgi - 2011-05-12 15:40:38
Am 12.05.2011 15:16, schrieb Josef Kellermann:
> attached patch changes read_option() in 
> mainboard/siemens/sitemp_g1p1/romstage.c.
Argh, I fixed that in an earlier iteration of managing the patch. Thanks!

> Signed-off-by: Josef Kellermann <seppk@arcor.de> <mailto://seppk@arcor.de>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>


Patrick

Patch

diff --git a/src/mainboard/siemens/sitemp_g1p1/romstage.c b/src/mainboard/siemens/sitemp_g1p1/romstage.c
index 64e1bc7..09aa1d7 100644
--- a/src/mainboard/siemens/sitemp_g1p1/romstage.c
+++ b/src/mainboard/siemens/sitemp_g1p1/romstage.c
@@ -325,7 +325,7 @@  void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	sb600_before_pci_init();
 	
 #if CONFIG_USE_OPTION_TABLE	
-	if( read_option(CMOS_VSTART_cmos_defaults_loaded, CMOS_VLEN_cmos_defaults_loaded, 0) )
+	if( read_option(cmos_defaults_loaded, 0) )
 		__WARNING__("WARNING: CMOS DEFAULTS LOADED. PLEASE CHECK CMOS OPTION \"cmos_default_loaded\" !\n"); 
 #endif