All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Simplify image size checks
@ 2025-08-07 10:24 Philip Oberfichtner
  2025-08-07 10:24 ` [PATCH v2 1/3] Image size checks: Remove HAS_BOARD_SIZE_LIMIT Philip Oberfichtner
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Philip Oberfichtner @ 2025-08-07 10:24 UTC (permalink / raw)
  To: u-boot
  Cc: Philip Oberfichtner, Andre Przywara, Anshul Dalal, Dario Binacchi,
	Gary Bisson, Greg Malysa, Heinrich Schuchardt, Ilias Apalodimas,
	Jerome Forissier, Marek Vasut, Nathan Barrett-Morrison,
	Oliver Gaskell, Paul Barker, Paul Kocialkowski, Peng Fan,
	Quentin Schulz, Simon Glass, Tom Rini, Trevor Woerner, Ye Li,
	Albert ARIBAUD (3ADEV), Marek Behun, Marek Mojik, Adriano Cordova,
	Alison Wang, Anatolij Gustschin, Breno Lima, Casey Connolly,
	David Lechner, Dragan Simic, Ezra Buehler, Fabio Estevam,
	Francesco Dolcini, Francesco Montefoschi, Heiko Schocher,
	Heinrich Schuchardt, Ibai Erkiaga, Jason Liu, Lukasz Majewski,
	Mattijs Korpershoek, Michael Walle, Michal Simek, Otavio Salvador,
	Pascal Zimmermann, Patrice Chotard, Patrick Delaunay,
	Patrick Rudolph, Phil Sutter, Raymond Mao, Richard Hu,
	Sean Anderson, Siddarth Gore, Soeren Moch, Stefan Roese,
	Tomas Peterka, Tony Dinh, Venkatesh Yadav Abbarapu, u-boot,
	uboot-stm32

Depends on:
	- https://patchwork.ozlabs.org/project/uboot/patch/20250807075653.356088-2-pro@denx.de/
	- https://patchwork.ozlabs.org/project/uboot/patch/20250807075653.356088-3-pro@denx.de/

This patch series intends to simplify the image size checks, which currently
exist in multiple flavours:

	CONFIG_HAS_BOARD_SIZE_LIMIT
	CONFIG_BOARD_SIZE_LIMIT
	CONFIG_UBOOT_WITH_SPL_SIZE_LIMIT
	CONFIG_SPL_SIZE_LIMIT
	CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD
	CONFIG_SPL_SIZE_LIMIT_SUBTRACT_MALLOC
	CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK
	CONFIG_TPL_SIZE_LIMIT
	CONFIG_VPL_SIZE_LIMIT

After this series, we would have
	- Less code duplication in the toplevel Makefile
	- Consistent logic for all the different CONFIGS
	- All related options in one place

Changes in v2:
	- Rebase on current master
	- Rebase on my pending mips patch series (linked above)
	- Incorporated Heinrich's Review

Philip Oberfichtner (3):
  Image size checks: Remove HAS_BOARD_SIZE_LIMIT
  Image size checks: Move all configs in one place
  Image size checks: Simplify help text

 Kconfig                                       | 80 ++++++++++++++++---
 cmd/Kconfig                                   |  2 +-
 common/spl/Kconfig                            | 45 -----------
 common/spl/Kconfig.tpl                        |  7 --
 common/spl/Kconfig.vpl                        |  7 --
 configs/bk4r1_defconfig                       |  1 -
 configs/chromebook_link_defconfig             |  1 -
 configs/colibri_vf_defconfig                  |  1 -
 configs/ea-lpc3250devkitv2_defconfig          |  1 -
 .../gardena-smart-gateway-mt7688_defconfig    |  1 -
 configs/guruplug_defconfig                    |  1 -
 configs/imx28_btt3_defconfig                  |  1 -
 configs/imx28_xea_defconfig                   |  1 -
 configs/legoev3_defconfig                     |  1 -
 configs/linkit-smart-7688_defconfig           |  1 -
 configs/lschlv2_defconfig                     |  1 -
 configs/lsxhl_defconfig                       |  1 -
 configs/lxr2_defconfig                        |  1 -
 configs/mx51evk_defconfig                     |  1 -
 configs/mx53loco_defconfig                    |  1 -
 configs/mx6sabresd_defconfig                  |  1 -
 configs/mx7ulp_com_defconfig                  |  1 -
 configs/openrd_base_defconfig                 |  1 -
 configs/openrd_client_defconfig               |  1 -
 configs/openrd_ultimate_defconfig             |  1 -
 configs/pcm052_defconfig                      |  1 -
 configs/pico-dwarf-imx6ul_defconfig           |  1 -
 configs/pico-dwarf-imx7d_defconfig            |  1 -
 configs/pico-hobbit-imx6ul_defconfig          |  1 -
 configs/pico-hobbit-imx7d_defconfig           |  1 -
 configs/pico-imx6_defconfig                   |  1 -
 configs/pico-imx6ul_defconfig                 |  1 -
 configs/pico-imx7d_bl33_defconfig             |  1 -
 configs/pico-imx7d_defconfig                  |  1 -
 configs/pico-nymph-imx7d_defconfig            |  1 -
 configs/pico-pi-imx6ul_defconfig              |  1 -
 configs/pico-pi-imx7d_defconfig               |  1 -
 configs/sheevaplug_defconfig                  |  1 -
 configs/stm32mp15_dhsom.config                |  1 -
 configs/tbs2910_defconfig                     |  1 -
 configs/turris_1x_nor_defconfig               |  1 -
 configs/turris_1x_sdcard_defconfig            |  1 -
 configs/turris_omnia_defconfig                |  1 -
 configs/udoo_neo_defconfig                    |  1 -
 configs/vf610twr_defconfig                    |  1 -
 configs/vf610twr_nand_defconfig               |  1 -
 configs/warp7_bl33_defconfig                  |  1 -
 configs/warp7_defconfig                       |  1 -
 lib/efi_loader/Kconfig                        |  6 +-
 49 files changed, 72 insertions(+), 118 deletions(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2025-09-01 19:41 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-07 10:24 [PATCH v2 0/3] Simplify image size checks Philip Oberfichtner
2025-08-07 10:24 ` [PATCH v2 1/3] Image size checks: Remove HAS_BOARD_SIZE_LIMIT Philip Oberfichtner
2025-08-07 13:41   ` Marek Vasut
2025-08-07 16:21     ` Tom Rini
2025-08-07 19:41       ` Marek Vasut
2025-08-07 20:11         ` Tom Rini
2025-08-07 23:15           ` Marek Vasut
2025-08-07 23:24             ` Tom Rini
2025-08-11  8:50               ` Philip Oberfichtner
2025-08-18  9:29                 ` Philip Oberfichtner
2025-08-25  8:59                   ` Philip Oberfichtner
2025-08-28 21:44                 ` Marek Vasut
2025-09-01  9:38                   ` Philip Oberfichtner
2025-09-01 19:41                     ` Marek Vasut
2025-08-11  8:30     ` Philip Oberfichtner
2025-08-07 10:24 ` [PATCH v2 2/3] Image size checks: Move all configs in one place Philip Oberfichtner
2025-08-07 10:24 ` [PATCH v2 3/3] Image size checks: Simplify help text Philip Oberfichtner
2025-08-07 13:41   ` Marek Vasut
2025-08-11  8:57     ` Philip Oberfichtner
2025-08-11 10:28       ` Heinrich Schuchardt
2025-08-11 14:25       ` Marek Vasut
2025-08-12  9:51         ` Philip Oberfichtner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.