From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 31 May 2020 08:08:31 -0600 Subject: [PATCH v3 2/4] spl: fit: fail fit loading in case of FDT appending error In-Reply-To: <20200527115621.1062-3-dariobin@libero.it> References: <20200527115621.1062-1-dariobin@libero.it> <20200527115621.1062-3-dariobin@libero.it> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 27 May 2020 at 05:56, Dario Binacchi wrote: > > If uboot does not embed its device tree and the FIT loading function U-Boot > returns error in case of failure in the FDT append, the redundant itb > image could be loaded. > > cc: Michael Trimarchi > Signed-off-by: Dario Binacchi > Reviewed-by: Michael Trimarchi > > --- > > Changes in v3: None > Changes in v2: > - Replace CONFIG_IS_ENABLED(OF_EMBED) with IS_ENABLED(CONFIG_OF_EMBED)) > > common/spl/spl_fit.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass