]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: trusted_foundations: fallback when TF support is missing
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 7 Feb 2014 04:35:02 +0000 (13:35 +0900)
committerStephen Warren <swarren@nvidia.com>
Tue, 18 Feb 2014 20:46:32 +0000 (13:46 -0700)
commitc3af6d68550c50597be25f29bc1cb742c10c63c0
tree79b537cbcb895f0818a4b85adf52fe4360fe5504
parenta553b7f536de9cf48cee7db410ff6c9108b67344
ARM: trusted_foundations: fallback when TF support is missing

When Trusted Foundations is detected as present on the system, but
Trusted Foundations support is not built into the kernel, the kernel
used to issue a panic very early during boot, leaving little clue to the
user as to what is going wrong.

It turns out that even without TF support built-in, the kernel can boot
on a TF-enabled system provided that SMP and cpuidle are disabled. This
patch does this and continue booting on one CPU, leaving the user with a
usable (however degraded) system.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/include/asm/trusted_foundations.h