summaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-08 22:01:23 +0800
committerSimon Glass <sjg@chromium.org>2015-08-14 03:24:21 -0600
commitda60fb79349320a21fd0b7c1e602fa492291d1f7 (patch)
tree1739e5c448f97666a34a9b50ca9420341f80aa3c /arch/x86/lib
parentf3b84a3032dd989a029320d9512846f48276db95 (diff)
downloadu-boot-imx-da60fb79349320a21fd0b7c1e602fa492291d1f7.zip
u-boot-imx-da60fb79349320a21fd0b7c1e602fa492291d1f7.tar.gz
u-boot-imx-da60fb79349320a21fd0b7c1e602fa492291d1f7.tar.bz2
x86: fsp: Do not assert VPD_IMAGE_REV when DEBUG
When using different release version of Intel FSP, the VPD_IMAGE_REV is different (ie: BayTrail Gold 3 is 0x0303 while Gold 4 is 0x0304). Remove the asserting of this so that U-Boot does not hang in a debug build. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/fsp/fsp_support.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lib/fsp/fsp_support.c b/arch/x86/lib/fsp/fsp_support.c
index 4585166..1d48ff4 100644
--- a/arch/x86/lib/fsp/fsp_support.c
+++ b/arch/x86/lib/fsp/fsp_support.c
@@ -147,8 +147,7 @@ void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf)
fsp_hdr->cfg_region_off);
/* Verify the VPD data region is valid */
- assert((fsp_vpd->img_rev == VPD_IMAGE_REV) &&
- (fsp_vpd->sign == VPD_IMAGE_ID));
+ assert(fsp_vpd->sign == VPD_IMAGE_ID);
/* Copy default data from Flash */
memcpy(fsp_upd, (void *)(fsp_hdr->img_base + fsp_vpd->upd_offset),