Merge branch 'master' of git://git.denx.de/u-boot-video
[oweals/u-boot.git] / arch / x86 / cpu / qemu / qemu.c
index 84fb082077d13ea980ebea7d7c8f9b1dc45261d3..46111c9cf058d82d35bf231c26d832f8d101bd15 100644 (file)
@@ -11,6 +11,7 @@
 #include <asm/processor.h>
 #include <asm/arch/device.h>
 #include <asm/arch/qemu.h>
+#include <asm/fw_cfg.h>
 
 static bool i440fx;
 
@@ -57,6 +58,8 @@ static void qemu_chipset_init(void)
                x86_pci_write_config32(PCI_BDF(0, 0, 0), PCIEX_BAR,
                                       CONFIG_PCIE_ECAM_BASE | BAR_EN);
        }
+
+       qemu_fwcfg_init();
 }
 
 int arch_cpu_init(void)
@@ -64,9 +67,6 @@ int arch_cpu_init(void)
        int ret;
 
        post_code(POST_CPU_INIT);
-#ifdef CONFIG_SYS_X86_TSC_TIMER
-       timer_set_base(rdtsc());
-#endif
 
        ret = x86_cpu_init_f();
        if (ret)