Skip to content
Snippets Groups Projects
Commit 2dfdd0c4 authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Tom Rini
Browse files

Kconfig: Use hex values for CONFIG_{SPL,TPL}_SIZE_LIMIT


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: default avatarOvidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 39565cc2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment