amd/stoneyridge: Remove 16MB cbmem assert
Do not check for the top of memory being 16MB-aligned near the end of romstage. This is not the expected alignment using the default 8MB SMM region size. BUG=b:67320715 Change-Id: I6bf0b9141232dea1a3b02794fda7af08887df119 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/21850 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
This commit is contained in:
parent
25cc76ff48
commit
4dd2269f57
|
@ -88,8 +88,6 @@ asmlinkage void car_stage_entry(void)
|
|||
* 16 megs under cbmem top which is a safe bet to cover ramstage.
|
||||
*/
|
||||
top_of_ram = (uintptr_t) cbmem_top();
|
||||
/* cbmem_top() needs to be at least 16 MiB aligned */
|
||||
assert(ALIGN_DOWN(top_of_ram, 16*MiB) == top_of_ram);
|
||||
postcar_frame_add_mtrr(&pcf, top_of_ram - 16*MiB, 16*MiB,
|
||||
MTRR_TYPE_WRBACK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue