[U-Boot] [U-Boot, RFC] vexpress: Check TC2 firmware support before defaulting to nonsec booting

Jon Medhurst (Tixy) tixy at linaro.org
Mon Aug 15 10:37:58 CEST 2016


On Sun, 2016-08-14 at 16:05 -0400, Tom Rini wrote:
> On Thu, Jun 23, 2016 at 01:37:32PM +0100, Jon Medhurst (Tixy) wrote:
> 
> > 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 at linaro.org>
> > Reviewed-by: Ryan Harkin <ryan.harkin at linaro.org>
> > Tested-by: Ryan Harkin <ryan.harkin at linaro.org>
> > ---
> > 
> > This is an implementation of Andre's suggestion in
> > http://lists.denx.de/pipermail/u-boot/2016-June/258873.html
> > 
> > Possibly the change to bootm.c should be in a separate patch?
> > 
> >  arch/arm/lib/bootm.c                 | 15 ++++++++++-----
> >  board/armltd/vexpress/Makefile       |  1 +
> >  board/armltd/vexpress/vexpress_tc2.c | 33 +++++++++++++++++++++++++++++++++
> >  3 files changed, 44 insertions(+), 5 deletions(-)
> >  create mode 100644 board/armltd/vexpress/vexpress_tc2.c
> 
> So, this supersedes https://patchwork.ozlabs.org/patch/639232/ right?

Yes, it does.

Thanks

-- 
Tixy



More information about the U-Boot mailing list