All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] Complete decoupling of bootm logic from commands
@ 2023-12-04  0:26 Simon Glass
  2023-12-04  0:26 ` [PATCH 01/18] bootm: netbds: Drop passing of arguments Simon Glass
                   ` (18 more replies)
  0 siblings, 19 replies; 32+ messages in thread
From: Simon Glass @ 2023-12-04  0:26 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Simon Glass, Alexey Brodkin, Alison Wang, Andy Fleming,
	Angelo Dureghello, Angelo Dureghello, Bin Meng, Chanho Park,
	Daniel Schwierzeck, Eddie James, Eugeniy Paltsev,
	Ilias Apalodimas, Leo, Marek Vasut, Marek Vasut, Mario Six,
	Mattijs Korpershoek, Max Filippov, Michal Simek, Nikita Shubin,
	Nobuhiro Iwamatsu, Patrice Chotard, Patrick Delaunay,
	Priyanka Jain, Rick Chen, Safae Ouajih, Scott McNutt,
	Sean Anderson, Stefan Roese, Thomas Chou, U-Boot Custodians,
	Wolfgang Denk, uboot-snps-arc, uboot-stm32

This series continues refactoring the bootm code to allow it to be used
with CONFIG_COMMAND disabled. The OS-handling code is refactored and
a new bootm_run() function is created to run through the bootm stages.
This completes the work.

A booti_go() function is created also, in case it proves useful, but at
last for now standard boot does not use this.

This is cmdd (part d of CMDLINE refactoring)
It depends on dm/bootstda-working
which depends on dm/cmdc-working


Simon Glass (18):
  bootm: netbds: Drop passing of arguments
  bootm: plan: Drop passing of arguments
  bootm: qnxelf: Drop passing of arguments
  nios2: Drop separate parsing of bootm args
  treewide: bootm: Drop command-line args to boot_os_fn
  bootm: Drop arguments from boot_selected_os()
  mips: Add a reset_cpu() function
  m68k: Add a reset_cpu() function
  ppc: Add a reset_cpu() function
  nios2: Add a reset_cpu() function
  riscv: Add a reset_cpu() function
  bootm: Adjust how the board is reset
  bootm: Drop arguments from do_bootm_states() and rename
  bootm: Create a function to run through the bootm states
  stm32: Use local vars in stm32prog for initrd and fdt
  bootm: Create a function to run through the bootz states
  stm32: Use bootm_run() and bootz_run()
  bootm: Create a function to run through the booti states

 arch/arc/lib/bootm.c                          |   2 +-
 arch/arm/lib/bootm.c                          |   3 +-
 .../cmd_stm32prog/cmd_stm32prog.c             |  35 +++--
 arch/m68k/lib/bootm.c                         |   3 +-
 arch/m68k/lib/traps.c                         |   7 +
 arch/microblaze/lib/bootm.c                   |   3 +-
 arch/mips/cpu/cpu.c                           |   8 +-
 arch/mips/lib/bootm.c                         |   5 +-
 arch/nios2/cpu/cpu.c                          |   8 +-
 arch/nios2/lib/bootm.c                        |   5 +-
 arch/powerpc/lib/bootm.c                      |   3 +-
 arch/powerpc/lib/traps.c                      |  10 ++
 arch/riscv/cpu/cpu.c                          |  13 ++
 arch/riscv/lib/bootm.c                        |   5 +-
 arch/riscv/lib/reset.c                        |   7 +-
 arch/sandbox/lib/bootm.c                      |   2 +-
 arch/sh/lib/bootm.c                           |   3 +-
 arch/x86/lib/bootm.c                          |   3 +-
 arch/xtensa/lib/bootm.c                       |   2 +-
 boot/bootm.c                                  | 125 ++++++++++--------
 boot/bootm_os.c                               | 101 +++++---------
 cmd/booti.c                                   |  55 ++++----
 cmd/bootm.c                                   |  36 +++--
 cmd/bootz.c                                   |  38 ++++--
 include/bootm.h                               | 107 +++++++++++++--
 25 files changed, 362 insertions(+), 227 deletions(-)

-- 
2.43.0.rc2.451.g8631bc7472-goog


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

end of thread, other threads:[~2023-12-11 17:54 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04  0:26 [PATCH 00/18] Complete decoupling of bootm logic from commands Simon Glass
2023-12-04  0:26 ` [PATCH 01/18] bootm: netbds: Drop passing of arguments Simon Glass
2023-12-04 10:48   ` Mark Kettenis
2023-12-04 10:59     ` Martin Husemann
2023-12-06  3:53     ` Simon Glass
2023-12-09 15:56       ` Tom Rini
2023-12-04  0:26 ` [PATCH 02/18] bootm: plan: " Simon Glass
2023-12-04  0:26 ` [PATCH 03/18] bootm: qnxelf: " Simon Glass
2023-12-04  0:26 ` [PATCH 04/18] nios2: Drop separate parsing of bootm args Simon Glass
2023-12-04  0:26 ` [PATCH 05/18] treewide: bootm: Drop command-line args to boot_os_fn Simon Glass
2023-12-04 19:00   ` Angelo Dureghello
2023-12-05  0:52     ` Simon Glass
2023-12-10 19:54   ` Angelo Dureghello
2023-12-04  0:26 ` [PATCH 06/18] bootm: Drop arguments from boot_selected_os() Simon Glass
2023-12-09 15:58   ` Tom Rini
2023-12-04  0:26 ` [PATCH 07/18] mips: Add a reset_cpu() function Simon Glass
2023-12-09 15:59   ` Tom Rini
2023-12-04  0:26 ` [PATCH 08/18] m68k: " Simon Glass
2023-12-10 19:37   ` Angelo Dureghello
2023-12-04  0:26 ` [PATCH 09/18] ppc: " Simon Glass
2023-12-04  0:26 ` [PATCH 10/18] nios2: " Simon Glass
2023-12-04  0:26 ` [PATCH 11/18] riscv: " Simon Glass
2023-12-04  0:26 ` [PATCH 12/18] bootm: Adjust how the board is reset Simon Glass
2023-12-09 16:01   ` Tom Rini
2023-12-04  0:26 ` [PATCH 13/18] bootm: Drop arguments from do_bootm_states() and rename Simon Glass
2023-12-04  0:26 ` [PATCH 14/18] bootm: Create a function to run through the bootm states Simon Glass
2023-12-04  0:26 ` [PATCH 15/18] stm32: Use local vars in stm32prog for initrd and fdt Simon Glass
2023-12-04  0:26 ` [PATCH 16/18] bootm: Create a function to run through the bootz states Simon Glass
2023-12-04  0:26 ` [PATCH 17/18] stm32: Use bootm_run() and bootz_run() Simon Glass
2023-12-04  0:26 ` [PATCH 18/18] bootm: Create a function to run through the booti states Simon Glass
2023-12-09 19:09 ` [PATCH 00/18] Complete decoupling of bootm logic from commands Tom Rini
2023-12-11 17:52   ` Simon Glass

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.