diff options
Diffstat (limited to 'board/freescale/qemu-ppce500/qemu-ppce500.c')
-rw-r--r-- | board/freescale/qemu-ppce500/qemu-ppce500.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c index 381d40d67a..e804cfe986 100644 --- a/board/freescale/qemu-ppce500/qemu-ppce500.c +++ b/board/freescale/qemu-ppce500/qemu-ppce500.c @@ -9,6 +9,7 @@ #include <env.h> #include <init.h> #include <pci.h> +#include <time.h> #include <asm/processor.h> #include <asm/mmu.h> #include <asm/fsl_pci.h> @@ -323,7 +324,7 @@ void get_sys_info(sys_info_t *sys_info) sys_info->freq_processor[0] = freq; } -int get_clocks (void) +int get_clocks(void) { sys_info_t sys_info; @@ -337,7 +338,7 @@ int get_clocks (void) return 0; } -unsigned long get_tbclk (void) +unsigned long get_tbclk(void) { void *fdt = get_fdt_virt(); int cpus_node = fdt_path_offset(fdt, "/cpus"); @@ -350,7 +351,7 @@ unsigned long get_tbclk (void) * get_bus_freq * return system bus freq in Hz *********************************************/ -ulong get_bus_freq (ulong dummy) +ulong get_bus_freq(ulong dummy) { sys_info_t sys_info; get_sys_info(&sys_info); |