diff options
author | Wolfgang Denk <wd@denx.de> | 2007-04-18 16:53:52 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-04-18 16:53:52 +0200 |
commit | b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a (patch) | |
tree | 2ba585aa362b4fc2859ead56014b39f74586662d /lib_avr32/avr32_linux.c | |
parent | 5f6c732affea9647762d27a4617a2ae64c52dceb (diff) | |
parent | 8e6875183cdca91c134408d119d4abcd48ef6856 (diff) | |
download | u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.zip u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.tar.gz u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.tar.bz2 |
Merge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup.
Diffstat (limited to 'lib_avr32/avr32_linux.c')
-rw-r--r-- | lib_avr32/avr32_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_avr32/avr32_linux.c b/lib_avr32/avr32_linux.c index d128dfb..6095e2f 100644 --- a/lib_avr32/avr32_linux.c +++ b/lib_avr32/avr32_linux.c @@ -27,7 +27,7 @@ #include <asm/addrspace.h> #include <asm/io.h> #include <asm/setup.h> -#include <asm/arch/platform.h> +#include <asm/arch/clk.h> DECLARE_GLOBAL_DATA_PTR; @@ -133,7 +133,7 @@ static struct tag *setup_clock_tags(struct tag *params) params->hdr.size = tag_size(tag_clock); params->u.clock.clock_id = ACLOCK_HSB; params->u.clock.clock_flags = 0; - params->u.clock.clock_hz = pm_get_clock_freq(CLOCK_HSB); + params->u.clock.clock_hz = get_hsb_clk_rate(); #endif return tag_next(params); |