diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-04-19 15:53:56 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-04-21 20:43:01 +0200 |
commit | 86cbfa00d00da2786e3a43edd3cf173739f99cba (patch) | |
tree | bf8d9839a78457159fa585e55e79ee7e909b8ef7 /src/lib/coreboot_table.c | |
parent | 60eb2c2c40193c457268aaa835002785b357df96 (diff) |
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>
Diffstat (limited to 'src/lib/coreboot_table.c')
0 files changed, 0 insertions, 0 deletions