diff options
author | David Lechner <david@lechnology.com> | 2025-07-04 15:39:27 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-04 14:48:06 -0600 |
commit | 15182ce25d5faa2d08bd08266a4d40fb5c2161fb (patch) | |
tree | 9fe14dabe8a9a280319837b87b2734c30caf3051 /drivers/ram/stm32mp1/stm32mp1_ddr.c | |
parent | d1d53c252a4a746db5ebcdf0d6de3aa0feec504e (diff) |
configs: legoev3: adjust to reduce binary size
Adjust legoev3_defconfig to reduce the binary output size.
As u-boot has bloated a bit over the years, the legoev3_defconfig can no
longer build something that fits in the 256kB size limit of the EV3.
This drops a few unused features, but the real difference-makers are
enabling thumb instructions and using link time optimization to reduce
the size.
This reduced u-boot.bin from 279,920 to 198,416 bytes on my local
machine with arm-none-eabi-gcc (15:13.2.rel1-2) 13.2.1 20231009.
HAS_BOARD_SIZE_LIMIT is also added to catch any future regressions.
Signed-off-by: David Lechner <david@lechnology.com>
Diffstat (limited to 'drivers/ram/stm32mp1/stm32mp1_ddr.c')
0 files changed, 0 insertions, 0 deletions