commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=5588d3e9a6c7ee8d5e9679ecc6027395dbbff751 branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk
Signed-off-by: Sonic Zhang <[email protected]> Signed-off-by: Bob Liu <[email protected]> --- arch/blackfin/kernel/setup.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index a7b2a38..9fc13ea 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c @@ -899,6 +899,10 @@ void __init setup_arch(char **cmdline_p) memset(&bfin_memmap, 0, sizeof(bfin_memmap)); +#ifdef CONFIG_BF60x + /* Should init clock device before parse command early */ + clk_init(); +#endif /* If the user does not specify things on the command line, use * what the bootloader set things up as */ @@ -933,7 +937,6 @@ void __init setup_arch(char **cmdline_p) #endif #ifdef CONFIG_BF60x - clk_init(); clk = clk_get(NULL, "CCLK"); if (!IS_ERR(clk)) { cclk = clk_get_rate(clk);
_______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
