src: Move constant to the right side of comparison
Change-Id: I76d35a3643600f81a6da7e0af99c935ebd1c2fc7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/27015 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
f212cf3506
commit
0f8b8d920c
@@ -34,7 +34,7 @@ void platform_BeforeInitPost(struct sysinfo *cb, AMD_POST_PARAMS *Post)
|
||||
|
||||
if (IS_ENABLED(CONFIG_ENABLE_MRC_CACHE)) {
|
||||
status = OemInitResume(&Post->MemConfig.MemContext);
|
||||
if (AGESA_SUCCESS == status)
|
||||
if (status == AGESA_SUCCESS)
|
||||
Post->MemConfig.MemRestoreCtl = 1;
|
||||
}
|
||||
}
|
||||
|
@@ -146,6 +146,6 @@ static void Get_ChannelPS_Cfg0_D(u8 MAAdimms, u8 Speed, u8 MAAload,
|
||||
}
|
||||
}
|
||||
p+=10;
|
||||
} while (0xFF == *p);
|
||||
} while (*p == 0xff);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user