From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Medhurst (Tixy) Date: Mon, 15 Aug 2016 09:37:58 +0100 Subject: [U-Boot] [U-Boot, RFC] vexpress: Check TC2 firmware support before defaulting to nonsec booting In-Reply-To: <20160814200514.GK4188@bill-the-cat> References: <1466685452.3022.18.camel@linaro.org> <20160814200514.GK4188@bill-the-cat> Message-ID: <1471250278.2902.0.camel@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > Reviewed-by: Ryan Harkin > > Tested-by: Ryan Harkin > > --- > > > > 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