]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: tegra: simplify halt_avp()
authorStephen Warren <swarren@nvidia.com>
Mon, 3 Feb 2014 21:03:27 +0000 (14:03 -0700)
committerTom Warren <twarren@nvidia.com>
Wed, 5 Mar 2014 23:59:08 +0000 (16:59 -0700)
commit716ff5ce1df460f75f32009b85e77962c993290c
treeb18225f2c93acfc9a420a0ad1c11981ee21c9eba
parent87fb553b90ab191fd643afa64d0fafd266a808c5
ARM: tegra: simplify halt_avp()

In order to completely halt the AVP processor, we should simply write
FLOW_MODE_STOP without any extra options that allow wakeup. Amend the
code to do this.

I believe that enabling FIQ_1 and IRQ_1 allow the CPU to be awoken by
interrupts. We don't want this; if later SW wishes to use the AVP, it
should be reset and booted from scratch.

Related, the bits that were previously IRQ_1 and FIQ_1 have a slightly
different definition starting with Tegra114, so the values we're
writing don't entirely make sense there anyway.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/arm720t/tegra-common/cpu.c