Skip to content

Commit

Permalink
[ARM] footbridge: set dc21285 clock rate from command line
Browse files Browse the repository at this point in the history
Allow the footbridge clock rate to be specified on the kernel command
line.  This allows us to work-around broken Personal Server firmware.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Dec 30, 2008
1 parent 47992cb commit 613e09b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/mach-footbridge/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ unsigned int mem_fclk_21285 = 50000000;

EXPORT_SYMBOL(mem_fclk_21285);

static void __init early_fclk(char **arg)
{
mem_fclk_21285 = simple_strtoul(*arg, arg, 0);
}

__early_param("mem_fclk_21285=", early_fclk);

static int __init parse_tag_memclk(const struct tag *tag)
{
mem_fclk_21285 = tag->u.memclk.fmemclk;
Expand Down

0 comments on commit 613e09b

Please sign in to comment.