vexpress: Check TC2 firmware support before defaulting to nonsec booting
authorJon Medhurst \(Tixy\) <tixy@linaro.org>
Thu, 23 Jun 2016 12:37:32 +0000 (13:37 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 15 Aug 2016 22:46:38 +0000 (18:46 -0400)
commitf225d39d30935c3d27271bee676ef554fa9b0f3c
tree1da31f4225fc2a561cdac9df27a81f905cc7a854
parent0fcb9f07a1d086fc6951c08d2fc1cf6048bd54e2
vexpress: Check TC2 firmware support before defaulting to nonsec booting

The firmware on TC2 needs to be configured appropriately before booting
in nonsec mode will work as expected, so test for this and fall back to
sec mode if required.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
arch/arm/lib/bootm.c
board/armltd/vexpress/Makefile
board/armltd/vexpress/vexpress_tc2.c [new file with mode: 0644]