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:
parent
cbfcb2a6bb
commit
8434d92c30
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue