aboutsummaryrefslogtreecommitdiffstats
path: root/src/post.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-02-09 20:09:22 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-02-12 21:21:28 -0500
commitb840ba996d9f90a213335ea18c9d620391b745d6 (patch)
treecc961fed406cee815f29240acf6e9ce12ddc7001 /src/post.c
parentfe09030b2800d4894660488b104eb9677eded55c (diff)
downloadseabios-b840ba996d9f90a213335ea18c9d620391b745d6.tar.gz
Integrate qemu_cfg_preinit() into qemu_romfile_init().
Now that only qemu_romfile_init() uses the fw_cfg interface, it only needs to be detected in that function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/post.c')
-rw-r--r--src/post.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/post.c b/src/post.c
index c77d2dd2..3af36382 100644
--- a/src/post.c
+++ b/src/post.c
@@ -108,7 +108,7 @@ interface_init(void)
malloc_fixupreloc_init();
// Setup romfile items.
- qemu_romfile_init();
+ qemu_cfg_init();
coreboot_cbfs_init();
// Setup ivt/bda/ebda
@@ -314,7 +314,6 @@ void VISIBLE32INIT
dopost(void)
{
// Detect ram and setup internal malloc.
- qemu_cfg_preinit();
if (CONFIG_COREBOOT)
coreboot_preinit();
else if (runningOnXen())