From 8a75d82fa5b3abb2473f207554454d9517ca5acb Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Wed, 7 Oct 2015 13:34:39 +0200 Subject: fsp1_0: Fix broken logic when searching for FSP Commit 47818b4d6017b89e398cfbc86e3c437e0f81cfdf (fsp/cache_as_ram.inc and boards: Fix incorrect usage of POST_IO) breaks the logic which decides whether FSP could be found or not in cache_as_ram.inc. Fix the error by inverting the logic of the test. TEST=Bootet mc_tcu3 board Change-Id: I993d3422ac406d204a53e4dc890210fb9a52469d Signed-off-by: Werner Zeh Reviewed-on: http://review.coreboot.org/11806 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- src/drivers/intel/fsp1_0/cache_as_ram.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/intel/fsp1_0/cache_as_ram.inc') diff --git a/src/drivers/intel/fsp1_0/cache_as_ram.inc b/src/drivers/intel/fsp1_0/cache_as_ram.inc index 91cfb88791..d1167b1b69 100644 --- a/src/drivers/intel/fsp1_0/cache_as_ram.inc +++ b/src/drivers/intel/fsp1_0/cache_as_ram.inc @@ -51,8 +51,8 @@ find_fsp_ret: /* Save the FSP location */ mov %eax, %ebp cmp $CONFIG_FSP_LOC, %eax - je find_fsp_ok - add $0xb0, %eax + jae find_fsp_ok + mov $0xb0, %eax jmp .Lhlt find_fsp_ok: -- cgit v1.2.3