From patchwork Mon May 11 06:43:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 245531 List-Id: U-Boot discussion From: dariobin at libero.it (Dario Binacchi) Date: Mon, 11 May 2020 08:43:14 +0200 Subject: [PATCH v2 0/3] Fix the SPL loading of a FIT image from NAND Message-ID: <20200511064317.20562-1-dariobin@libero.it> Loading u-boot and its fdt from a NAND memory area with bad blocks led to the creation of these patches. Changes in v2: - Replace CONFIG_IS_ENABLED(OF_EMBED) with IS_ENABLED(CONFIG_OF_EMBED)) Dario Binacchi (3): spl: fix format of function documentation spl: fit: fail fit loading in case of FDT appending error spl: fit: nand: fix fit loading in case of bad blocks common/spl/spl_fit.c | 16 ++++++++------ common/spl/spl_nand.c | 7 +++++++ drivers/mtd/nand/raw/nand_spl_loaders.c | 28 +++++++++++++++++++++++++ include/nand.h | 1 + include/spl.h | 6 +++++- 5 files changed, 51 insertions(+), 7 deletions(-)