Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47566 )
Change subject: mb/supermicro/x11-lga1151-series: Initialize mem_cfg in one line ......................................................................
mb/supermicro/x11-lga1151-series: Initialize mem_cfg in one line
Change-Id: I50390f66d9570eb0fd703e3ad8a2735125d76b61 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/mainboard/supermicro/x11-lga1151-series/romstage.c 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/47566/1
diff --git a/src/mainboard/supermicro/x11-lga1151-series/romstage.c b/src/mainboard/supermicro/x11-lga1151-series/romstage.c index fd1c715..6763657 100644 --- a/src/mainboard/supermicro/x11-lga1151-series/romstage.c +++ b/src/mainboard/supermicro/x11-lga1151-series/romstage.c @@ -6,8 +6,7 @@
void mainboard_memory_init_params(FSPM_UPD *mupd) { - FSP_M_CONFIG *mem_cfg; - mem_cfg = &mupd->FspmConfig; + FSP_M_CONFIG *mem_cfg = &mupd->FspmConfig;
struct spd_block blk = { .addr_map = { 0x50, 0x51, 0x52, 0x53, },