From 47a3ea35fc4bb3a22dc828d7e0fcb15936f6b3ea Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 23 Dec 2008 06:59:04 +0000 Subject: [PATCH] Quick emergency fix for unitialized variable. A number of recent changes have resulted in breaking the kontron port. I am trying to fix them. In case there is any concern about the initialization: this is a scalar auto being initialized. The initialization is done in code. I have verified this both by checking the object code and actually running it; this fix resolves a break introduced at some point. Other breakage remains: kontron now hangs here: run_file returns with 0 Done RAM init code Done printk() buffer move disable_car entry disable_car global_vars copy done disable_car global_vars pointer adjusted entering asm code now Signed-off-by: Ronald G. Minnich Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@1083 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- mainboard/kontron/986lcd-m/initram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainboard/kontron/986lcd-m/initram.c b/mainboard/kontron/986lcd-m/initram.c index f47898d1fe..4d501c671a 100644 --- a/mainboard/kontron/986lcd-m/initram.c +++ b/mainboard/kontron/986lcd-m/initram.c @@ -157,7 +157,7 @@ static void rcba_config(void) */ int main(void) { - int boot_mode; + int boot_mode = 0; void i945_early_initialization(void); void enable_smbus(void); int fixup_i945_errata(void);