From: Tom Rini Date: Thu, 22 Oct 2020 20:26:40 -0400 Subject: [PATCH] Kconfig: Use hex values for CONFIG_{SPL,TPL}_SIZE_LIMIT In-Reply-To: <20200925181256.2326-1-ovidiu.panait@windriver.com> References: <20200925181256.2326-1-ovidiu.panait@windriver.com> Message-ID: <20201023002640.GO14816@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Sep 25, 2020 at 09:12:56PM +0300, Ovidiu Panait wrote: > CONFIG_{SPL,TPL}_SIZE_LIMIT are defined as hex (SPL_SIZE_LIMIT was > converted in b51882d0 ("spl: Convert CONFIG_SPL_SIZE_LIMIT to hex"), but > there are still places that reference integer values. Change those to hex > as well. Also, update the Makefile to check for 0x0 instead of 0. > > This also fixes the following build error when CONFIG_SPL_SIZE_LIMIT > is set by menuconfig to 0x0: > ... > spl/u-boot-spl.bin exceeds file size limit: > limit: 0 bytes > actual: 0x80f0 bytes > excess: 0x80f0 bytes > > Signed-off-by: Ovidiu Panait > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: