diff options
author | Bob Liu <lliubbo@gmail.com> | 2010-09-17 13:09:57 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 13:10:13 +0100 |
commit | 759a3f3f3171c521229dda2335e5ab105f6fdc40 (patch) | |
tree | 16c95f046b345a649928709ff812d3563562a274 /arch/blackfin/mach-bf527/boards/ad7160eval.c | |
parent | Blackfin: SMP: fix hotplug building after irq header shuffle (diff) | |
download | linux-759a3f3f3171c521229dda2335e5ab105f6fdc40.tar.xz linux-759a3f3f3171c521229dda2335e5ab105f6fdc40.zip |
Blackfin: musb-boards: push clkin value to platform resources
In order to not touch the driver file for different xtal usage,
push the clkin value to board file and calculate the register
value instead of hardcoding it.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ad7160eval.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ad7160eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ad7160eval.c b/arch/blackfin/mach-bf527/boards/ad7160eval.c index 52295fff5577..6215de838b00 100644 --- a/arch/blackfin/mach-bf527/boards/ad7160eval.c +++ b/arch/blackfin/mach-bf527/boards/ad7160eval.c @@ -67,6 +67,7 @@ static struct musb_hdrc_config musb_config = { * if it is the case. */ .gpio_vrsel_active = 1, + .clkin = 24, /* musb CLKIN in MHZ */ }; static struct musb_hdrc_platform_data musb_plat = { |