[PATCH 4/5] lib: do not provide hexdump in SPL

Heinrich Schuchardt
2020-04-16T16:27:00Z

On 4/16/20 4:32 AM, Tom Rini wrote:
> On Wed, Apr 15, 2020 at 06:46:22PM +0200, Heinrich Schuchardt wrote:
>
>> SPL should not be enlarged by building with CONFIG_HEXDUMP=y.
>>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
>> ---
>> lib/hexdump.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Does this show up as a problem somewhere? I don't see this resulting in
> size savings anywhere, thanks.
>

I checked for origin/master pine64_defconfig

with HEXDUMP
1493728 spl/u-boot-spl

without HEXDUMP
1485712 spl/u-boot-spl

Currently no driver is actually calling the hexdump function is SPL. So
the code seems to be removed in the final binary.

Best regards

Heinrich