diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-26 08:14:04 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-08-26 11:43:55 -0600 |
commit | 783944feaab8383495ba067276a16e28c205fb13 (patch) | |
tree | 3eff8e54489cc4b0a7babe3d8bdd1440ca85f07a /arch/arm/mach-tegra/tegra.c | |
parent | 9fc3bf5dc2cf3c8703601ad9a612b2f9eefb8a22 (diff) |
ARM: tegra: Initialize flow controller from DT
Use a matching device tree node to initialize the flow controller driver
instead of hard-coding the I/O address. This is necessary to get rid of
the iomap.h include, which in turn make it easier to share this code
with 64-bit Tegra SoCs.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index 5ef5173dec83..ef016af1c9e7 100644 --- a/arch/arm/mach-tegra/tegra.c +++ b/arch/arm/mach-tegra/tegra.c @@ -48,6 +48,7 @@ #include "board.h" #include "common.h" #include "cpuidle.h" +#include "flowctrl.h" #include "iomap.h" #include "irq.h" #include "pm.h" @@ -74,6 +75,7 @@ static void __init tegra_init_early(void) { of_register_trusted_foundations(); tegra_cpu_reset_handler_init(); + tegra_flowctrl_init(); } static void __init tegra_dt_init_irq(void) |