u-boot/arch/arm
Tom Rini 9565771076 Merge patch series "bootm: Refactoring to reduce reliance on CMDLINE (part A)"
To quote the author:

It would be useful to be able to boot an OS when CONFIG_CMDLINE is
disabled. This could allow reduced code size.

Standard boot provides a way to handle programmatic boot, without
scripts, so such a feature is possible. The main impediment is the
inability to use the booting features of U-Boot without a command line.
So the solution is to avoid passing command arguments and the like to
code in boot/

A similar process has taken place with filesystems, for example, where
we have (somewhat) separate Kconfig options for the filesystem commands
and the filesystems themselves.

This series starts the process of refactoring the bootm logic so that
it can be called from standard boot without using the command line.
Mostly it removes the use of argc, argv and cmdtbl from the internal
logic.

Some limited tidy-up is included, but this is kept to smaller patches,
rather than trying to remove all #ifdefs etc. Some function comments
are added, however.

A simple programmatic boot is provided as a starting point.

This work will likely take many series, so this is just the start.

Size growth with this series for firefly-rk3288 (Thumb2) is:

       arm: (for 1/1 boards) all +23.0 rodata -49.0 text +72.0

This should be removed by:

   https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/11

but it is not included in this series as it is already large enough.

No functional change is intended in this series.

Changes in v3:
- Add a panic if programmatic boot fails
- Drop RFC tag

Changes in v2:
- Add new patch to adjust position of unmap_sysmem() in boot_get_kernel()
- Add new patch to obtain command arguments
- Fix 'boot_find_os' typo
- Pass in the command name
- Use the command table to provide the command name, instead of "bootm"
2023-12-13 11:51:53 -05:00
..
cpu Merge patch series "bootm: Refactoring to reduce reliance on CMDLINE (part A)" 2023-12-13 11:51:53 -05:00
dts Prepare v2024.01-rc4 2023-12-04 21:39:57 -05:00
include Prepare v2024.01-rc3 2023-11-20 09:19:50 -05:00
lib arm: semihosting: Support semihosting fallback on 32-bit ARM 2023-11-10 12:52:33 -05:00
mach-apple arm: apple: Add initial Apple M2 Ultra support 2023-10-11 13:22:32 -04:00
mach-aspeed
mach-at91 board: Add support for Conclusive KSTR-SAMA5D27 2023-10-23 17:07:06 +03:00
mach-bcm283x
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci Prepare v2024.01-rc3 2023-11-20 09:19:50 -05:00
mach-exynos exynos: Avoid duplicate reset_cpu with SYSRESET enabled 2023-11-13 16:19:04 +09:00
mach-highbank
mach-histb
mach-hpe
mach-imx Prepare v2024.01-rc3 2023-11-20 09:19:50 -05:00
mach-integrator
mach-ipq40xx arm: Drop <common.h> from remaining header files 2023-11-07 14:50:52 -05:00
mach-k3 arm: k3: Enable instruction cache for main domain SPL 2023-11-22 13:47:39 -05:00
mach-keystone ARM: keystone2: Remove unneeded inclusions of common.h 2023-11-29 09:32:15 -05:00
mach-kirkwood arm: kirkwood: Add support for ZyXEL NSA325 board 2023-10-16 11:10:42 +02:00
mach-lpc32xx
mach-mediatek
mach-meson meson: Use checkboard() instead of show_board_info() 2023-11-28 12:53:03 -05:00
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 siemens,am335x: clean-up draco targets 2023-11-22 19:10:03 -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 rockchip: include: asm: fix entering download mode rk3066 2023-11-10 10:58:56 -05:00
mach-s5pc1xx
mach-snapdragon Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
mach-socfpga spl: Enable CONFIG_SPL_SYS_MALLOC_F where needed 2023-10-06 14:38:12 -04:00
mach-sti
mach-stm32
mach-stm32mp Prepare v2024.01-rc3 2023-11-20 09:19:50 -05:00
mach-sunxi Prepare v2024.01-rc3 2023-11-20 09:19:50 -05:00
mach-tegra Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next 2023-11-30 09:33:31 -05:00
mach-u8500
mach-uniphier
mach-versal arm64: versal: Add SelectMAP boot mode identification 2023-10-09 13:03:23 +02:00
mach-versal-net arm64: versal: Add SelectMAP boot mode identification 2023-10-09 13:03:23 +02:00
mach-versatile
mach-zynq
mach-zynqmp Prepare v2024.01-rc3 2023-11-20 09:19:50 -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