From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sat, 16 Feb 2019 10:26:39 +0000 (UTC) Subject: [U-Boot] [U-Boot, v4, 01/20] common: spl_fit: Fix the spl_fit_image_get_os for FIT_IMAGE_TINY In-Reply-To: <1549039198-16674-2-git-send-email-abel.vesa@nxp.com> Estevam , "u-boot@lists.denx.de" , dl-uboot-imx , Peng Fan Message-ID: <20190216102717.B0B62C21EF0@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > There is not really reducing codesize here since there is only > a call. The function is always built in if CONFIG_$(SPL_TPL_)FIT is set. > Plus, there was a change in behavior if CONFIG_SPL_OS_BOOT is defined. > If CONFIG_FIT_IMAGE_TINY is defined, the spl_fit_image_get_os was > returning -ENOTSUPP and then if CONFIG_SPL_OS_BOOT was also > defined, the spl_image->os was left set to 0 which in turn > was skipping the fdt appending resulting in boot-up failure. > Fixes: 337bbb6297775e spl: fit: add SPL_FIT_IMAGE_TINY config to reduce code-size > Signed-off-by: Abel Vesa > Reviewed-by: Tom Rini > Tested-by: Lukasz Majewski > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================