[U-Boot] [PATCH v4 2/4] imx: move BOARD_SIZE_CHECK to main Makefile

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Apr 7 21:10:27 UTC 2019


On 4/5/19 3:05 PM, Fabio Estevam wrote:
> Hi Heinrich,
>
> On Tue, Apr 2, 2019 at 2:19 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>>
>> We currently have duplicate definitions for BOARD_SIZE_CHECK in Makefile
>> and arch/arm/mach-imx/Makefile.
>>
>> Move the board size check from arch/arm/mach-imx/Makefile to Makefile.
>>
>> Depending on the value of CONFIG_BOARD_SIZE_LIMIT an error like an error
>> like the following is thrown:
>>
>> u-boot-dtb.imx exceeds file size limit:
>>   limit:  503696 bytes
>>   actual: 509720 bytes
>>   excess: 6024 bytes
>> make: *** [Makefile:1051: u-boot-dtb.imx] Error 1
>>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>
> Yes, it makes sense. No need for a imx specific size check:
>
> Reviewed-by: Fabio Estevam <festevam at gmail.com>
>
Thanks for reviewing.

@Stefano: I have assigned this single patch to you in patchwork to
please pick-up for the imx tree.

Best regards

Heinrich


More information about the U-Boot mailing list