the following patch was just integrated into master: commit 86cbfa00d00da2786e3a43edd3cf173739f99cba Author: Aaron Durbin adurbin@chromium.org Date: Tue Apr 19 15:53:56 2016 -0500
arch/x86: clean up write_tables()
There were quite a number of #if/#endif guards in the write_tables() code. Clean up that function by splitting up the subcomponents into their own individual functions. The same ordering and logic is kept maintained.
The changes also benefit the goal of using a common core write_tables() logic so that other architectures don't duplicate large swaths of code.
Change-Id: I93f6775d698500f25f72793cbe3fd4eb9d01a20c Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: https://review.coreboot.org/14431 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh furquan@google.com Reviewed-by: Patrick Georgi pgeorgi@google.com
See https://review.coreboot.org/14431 for details.
-gerrit