summaryrefslogtreecommitdiff
path: root/arch/arm/mach-virt
diff options
context:
space:
mode:
authorDiana Craciun <Diana.Craciun@freescale.com>2014-08-21 08:17:59 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:39:55 (GMT)
commit5f8e0a55ef0f1c313b5527d9e1a719b34362cb1a (patch)
tree6fcaa3328ddca7017bb8263cd83001baff9ea984 /arch/arm/mach-virt
parent57fbe3856efe4b8d70d843ec39715586febf206f (diff)
downloadlinux-fsl-qoriq-5f8e0a55ef0f1c313b5527d9e1a719b34362cb1a.tar.xz
Initialize clocks for mach-virt
The mach-virt machine is entirely specified by device tree. However the kernel does not initialize the clocks from device tree and it will refuse to probe the PL011 console. Signed-off-by: Diana Craciun <Diana.Craciun@freescale.com> Change-Id: I5f90396a872f2db9a0164cd003babaf9b8efdcad Reviewed-on: http://git.am.freescale.net:8181/22052 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'arch/arm/mach-virt')
-rw-r--r--arch/arm/mach-virt/virt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-virt/virt.c b/arch/arm/mach-virt/virt.c
index b184e57..2b6aceb 100644
--- a/arch/arm/mach-virt/virt.c
+++ b/arch/arm/mach-virt/virt.c
@@ -21,11 +21,13 @@
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/smp.h>
+#include <linux/clk-provider.h>
#include <asm/mach/arch.h>
static void __init virt_init(void)
{
+ of_clk_init(NULL);
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}