PraveenX Hodagatta Pranesh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30794
Change subject: mb/intel/kblrvp: Fix unsigned val casting of smaller size ......................................................................
mb/intel/kblrvp: Fix unsigned val casting of smaller size
Signed-off-by: Praveen hodagatta pranesh praveenx.hodagatta.pranesh@intel.com Change-Id: I519ed4b5b403622d6bb01ad0bdd04e01dedff7d8 --- M src/mainboard/intel/kblrvp/romstage.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/30794/1
diff --git a/src/mainboard/intel/kblrvp/romstage.c b/src/mainboard/intel/kblrvp/romstage.c index 47f8249..d0d5272 100644 --- a/src/mainboard/intel/kblrvp/romstage.c +++ b/src/mainboard/intel/kblrvp/romstage.c @@ -32,7 +32,7 @@ FSP_M_CONFIG *mem_cfg; mem_cfg = &mupd->FspmConfig; u8 spd_index = get_spd_index(); - if ((int)spd_index < 0) + if ((s8)spd_index < 0) return;
printk(BIOS_INFO, "SPD index %d\n", spd_index);