u-boot/arch/arm
Sean Anderson 5271e359a4 spl: Only support bl_len when we have to
Aligning addresses and sizes causes overhead which is unnecessary when we
are not loading from block devices. Remove bl_len when it is not needed.

For example, on iot2050 we save 144 bytes with this patch (once the rest of
this series is applied):

add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-144 (-144)
Function                                     old     new   delta
spl_load_simple_fit                          920     904     -16
load_simple_fit                              496     444     -52
spl_spi_load_image                           384     308     -76
Total: Before=87431, After=87287, chg -0.16%

We use panic() instead of BUILD_BUG_ON in spl_set_bl_len because we still
need to be able to compile it for things like mmc_load_image_raw_sector,
even if that function will not be used.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-11-16 13:49:14 -05:00
..
cpu
dts ARM: dts: stm32: Add STM32MP257F Evaluation board support 2023-11-13 10:55:38 +01:00
include arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch 2023-11-13 10:55:38 +01:00
lib arm: semihosting: Support semihosting fallback on 32-bit ARM 2023-11-10 12:52:33 -05:00
mach-apple
mach-aspeed
mach-at91
mach-bcm283x
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci arm: Drop <common.h> from remaining header files 2023-11-07 14:50:52 -05:00
mach-exynos
mach-highbank
mach-histb
mach-hpe
mach-imx spl: Only support bl_len when we have to 2023-11-16 13:49:14 -05:00
mach-integrator
mach-ipq40xx arm: Drop <common.h> from remaining header files 2023-11-07 14:50:52 -05:00
mach-k3 ti: k3: Drop <common.h> usage 2023-11-07 14:50:52 -05:00
mach-keystone arm: Drop <common.h> from remaining header files 2023-11-07 14:50:52 -05:00
mach-kirkwood
mach-lpc32xx
mach-mediatek
mach-meson
mach-mvebu scsi: Forceably finish migration to DM_SCSI 2023-11-07 18:36:06 -05:00
mach-nexell
mach-npcm
mach-octeontx
mach-octeontx2
mach-omap2 scsi: Forceably finish migration to DM_SCSI 2023-11-07 18:36:06 -05:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile arm: mach-rmobile: Drop <common.h> 2023-11-02 11:30:18 +01:00
mach-rockchip Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mach-s5pc1xx
mach-snapdragon Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mach-socfpga
mach-sti
mach-stm32
mach-stm32mp Introduce STM32MP2 SoCs family support 2023-11-13 13:35:57 -05:00
mach-sunxi spl: Only support bl_len when we have to 2023-11-16 13:49:14 -05:00
mach-tegra arm: Drop <common.h> from remaining header files 2023-11-07 14:50:52 -05:00
mach-u8500
mach-uniphier
mach-versal
mach-versal-net
mach-versatile
mach-zynq
mach-zynqmp arm: Drop <common.h> from remaining header files 2023-11-07 14:50:52 -05:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk
Kconfig arm: Enable SYS_THUMB_BUILD on AT91 2023-11-16 13:48:58 -05:00
Kconfig.debug
Makefile