public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew F. Davis <afd@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 0/6] Allow disabling non-FIT image loading from SPL
Date: Mon, 13 Feb 2017 12:47:35 -0600	[thread overview]
Message-ID: <20170213184741.8755-1-afd@ti.com> (raw)

Hello all,

To address a needed feature brought up by Andreas[0], we need a way to
disable SPL from loading non-FIT images.

The function spl_parse_image_header is common to all SPL loading paths
(common/spl/spl_(nand|net|nor|etc..)) so we add the check here.

This version of the series is a bit different than the last 2 due
to suggestions by Simon, instead of a negative option disabling
non-FIT images, we allow the other image format's support to be
toggled off, and do that on HS boards.

Thanks,
Andrew

[0] https://www.mail-archive.com/u-boot at lists.denx.de/msg219253.html

Changes from v3:
 - Add debug print as suggested by Simon

Andrew F. Davis (6):
  spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option
  spl: Add option to enable SPL Legacy image support
  ARM: AM335x: Disable non-FIT based image loading for HS devices
  ARM: AM43xx: Disable non-FIT based image loading for HS devices
  ARM: AM57xx: Disable non-FIT based image loading for HS devices
  ARM: DRA7xx: Disable non-FIT based image loading for HS devices

 Kconfig                           | 15 +++++++++++++++
 README                            |  4 ----
 common/spl/spl.c                  | 20 ++++++++++++++------
 configs/am335x_hs_evm_defconfig   |  2 ++
 configs/am43xx_hs_evm_defconfig   |  2 ++
 configs/am57xx_hs_evm_defconfig   |  2 ++
 configs/dra7xx_hs_evm_defconfig   |  2 ++
 include/configs/imx6_spl.h        |  4 ++--
 include/configs/socfpga_de1_soc.h |  2 +-
 include/spl.h                     |  2 +-
 10 files changed, 41 insertions(+), 14 deletions(-)

-- 
2.11.0

             reply	other threads:[~2017-02-13 18:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13 18:47 Andrew F. Davis [this message]
2017-02-13 18:47 ` [U-Boot] [PATCH v4 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option Andrew F. Davis
2017-02-14 20:15   ` Tom Rini
2017-02-14 20:32     ` Andrew F. Davis
2017-02-14 21:04       ` Tom Rini
2017-02-15 19:37         ` Andrew F. Davis
2017-02-13 18:47 ` [U-Boot] [PATCH v4 2/6] spl: Add option to enable SPL Legacy image support Andrew F. Davis
2017-02-14 20:16   ` Tom Rini
2017-02-13 18:47 ` [U-Boot] [PATCH v4 3/6] ARM: AM335x: Disable non-FIT based image loading for HS devices Andrew F. Davis
2017-02-14 20:16   ` Tom Rini
2017-02-13 18:47 ` [U-Boot] [PATCH v4 4/6] ARM: AM43xx: " Andrew F. Davis
2017-02-14 20:16   ` Tom Rini
2017-02-13 18:47 ` [U-Boot] [PATCH v4 5/6] ARM: AM57xx: " Andrew F. Davis
2017-02-14 20:17   ` Tom Rini
2017-02-13 18:47 ` [U-Boot] [PATCH v4 6/6] ARM: DRA7xx: " Andrew F. Davis
2017-02-14 20:17   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170213184741.8755-1-afd@ti.com \
    --to=afd@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox