arch/x86: move postcar main logic into C

The console_init(), MTRR printing, and loading ramstage
logic was previously all in assembly. Move that logic
into C code so that future features can more easily be
added into the postcar boot flow.


Change-Id: I332140f569caf0803570fd635d894295de8c0018
Signed-off-by: Aaron Durbin <>
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <>
Reviewed-by: Andrey Petrov <>
Reviewed-by: Paul Menzel <>
3 files changed