[PATCH v3 2/4] spl: fit: fail fit loading in case of FDT appending error

Simon Glass sjg at chromium.org
Sun May 31 16:08:31 CEST 2020


On Wed, 27 May 2020 at 05:56, Dario Binacchi <dariobin at libero.it> 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 <michael at amarulasolutions.com>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
> Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>
>
> ---
>
> 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 <sjg at chromium.org>


More information about the U-Boot mailing list