diff options
author | Lucas Stach <dev@lynxeye.de> | 2016-01-12 21:06:51 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-18 08:22:23 +0100 |
commit | 20ce1814bf33ed7baeee5736fa0e894c14136df7 (patch) | |
tree | ccaf4ce93eda0622d4aae93e2fee82271cecca12 /arch/arm/mach-tegra/tegra_avp_init.c | |
parent | 53a573c0140118ba4e62f45bd17fae5c378805f7 (diff) | |
download | barebox-20ce1814bf33ed7baeee5736fa0e894c14136df7.tar.gz barebox-20ce1814bf33ed7baeee5736fa0e894c14136df7.tar.xz |
ARM: tegra: clean up lowlevel entry
The lowlevel startup function jumps directly to the main
cluster if we are already running there. This allows for a
significant cleanup of the board startup code by directly
using the FDT address available there.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-tegra/tegra_avp_init.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra_avp_init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/tegra_avp_init.c b/arch/arm/mach-tegra/tegra_avp_init.c index 20fcf3f1d1..16dc65be07 100644 --- a/arch/arm/mach-tegra/tegra_avp_init.c +++ b/arch/arm/mach-tegra/tegra_avp_init.c @@ -257,14 +257,11 @@ static void tegra_cluster_switch_hp(void) writel(reg, TEGRA_FLOW_CTRL_BASE + FLOW_CLUSTER_CONTROL); } -void tegra_avp_reset_vector(uint32_t boarddata) +void tegra_avp_reset_vector(void) { int num_cores; unsigned int entry_address = 0; - /* put boarddata in scratch reg, for main CPU to fetch after startup */ - writel(boarddata, TEGRA_PMC_BASE + PMC_SCRATCH(10)); - /* we want to bring up the high performance CPU complex */ if (tegra_get_chiptype() >= TEGRA30) tegra_cluster_switch_hp(); |