mb/clevo/kbl-u: Clean up code

Change-Id: I98d806ebf126522689b2c101b75add733825fcf1
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49133
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
Felix Singer 2021-01-06 04:02:04 +00:00 committed by Michael Niewöhner
parent cbfcb2a6bb
commit 8434d92c30
1 changed files with 2 additions and 3 deletions

View File

@ -18,13 +18,12 @@ static void mainboard_fill_rcomp_strength_data(void *rcomp_strength_ptr)
void mainboard_memory_init_params(FSPM_UPD *mupd) void mainboard_memory_init_params(FSPM_UPD *mupd)
{ {
FSP_M_CONFIG *mem_cfg; FSP_M_CONFIG *mem_cfg = &mupd->FspmConfig;
struct spd_block blk = { struct spd_block blk = {
.addr_map = {0x50, 0x52}, .addr_map = {0x50, 0x52},
}; };
mem_cfg = &mupd->FspmConfig;
get_spd_smbus(&blk); get_spd_smbus(&blk);
dump_spd_info(&blk); dump_spd_info(&blk);