]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: HYP/non-sec: remove MIDR check to validate CBAR
authorMarc Zyngier <marc.zyngier@arm.com>
Sat, 12 Jul 2014 13:24:08 +0000 (14:24 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 28 Jul 2014 15:19:55 +0000 (17:19 +0200)
commit9d195a546179bc732aba9eacccf0a9a3db591288
tree3a133a6d6ad4afbd05ffcb6ba9e136a9ff5054c7
parente771a3d538a4fbe235864061ff3c81a8acb11082
ARM: HYP/non-sec: remove MIDR check to validate CBAR

Having a form of whitelist to check if we know of a CPU core
and and obtain CBAR is a bit silly.

It doesn't scale (how about A12, A17, as well as other I don't know
about?), and is actually a property of the SoC, not the core.

So either it works and everybody is happy, or it doesn't and
the u-boot port to this SoC is providing the real address via
a configuration option.

The result of the above is that this code doesn't need to exist,
is thus forcefully removed.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/virt-v7.c