diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2015-04-21 07:18:33 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-05-13 09:24:15 -0700 |
commit | 91a34ed9b182d796e0364a8fd1e72e3915c4daea (patch) | |
tree | b870dfdd40345e7ade8849bc5e8495cafe5edfa7 | |
parent | d6b72da029ab85b344b98b28b12d7cbe800b6cc4 (diff) | |
download | u-boot-imx-91a34ed9b182d796e0364a8fd1e72e3915c4daea.zip u-boot-imx-91a34ed9b182d796e0364a8fd1e72e3915c4daea.tar.gz u-boot-imx-91a34ed9b182d796e0364a8fd1e72e3915c4daea.tar.bz2 |
tegra: Make tegra_powergate_power_on public
Will be used for unpowergating CPUs.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r-- | arch/arm/include/asm/arch-tegra/powergate.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-tegra/powergate.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-tegra/powergate.h b/arch/arm/include/asm/arch-tegra/powergate.h index 130b58b..2e491f1 100644 --- a/arch/arm/include/asm/arch-tegra/powergate.h +++ b/arch/arm/include/asm/arch-tegra/powergate.h @@ -33,6 +33,7 @@ enum tegra_powergate { int tegra_powergate_sequence_power_up(enum tegra_powergate id, enum periph_id periph); +int tegra_powergate_power_on(enum tegra_powergate id); int tegra_powergate_power_off(enum tegra_powergate id); #endif diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index 439cff3..6331cd4 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -44,7 +44,7 @@ static int tegra_powergate_set(enum tegra_powergate id, bool state) return -ETIMEDOUT; } -static int tegra_powergate_power_on(enum tegra_powergate id) +int tegra_powergate_power_on(enum tegra_powergate id) { return tegra_powergate_set(id, true); } |