
On Sun, Dec 03, 2023 at 05:26:16PM -0700, Simon Glass wrote:
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
Since I would ask "what's the size impact of all of this?", I went and checked. I rebased your current cmdd-working branch on top of current next, and compared. While I'm sure this will change a little given feedback so far, generally platforms shrink a little (probably due to the bootm args stuff you dropped, but may need to keep). The only big growth I saw was branch specific and your "rpi" patch, oh yes, that grows rpi_4 given that you change a bunch of stuff there. So that doesn't count.
So generally speaking, I'm OK with this series up to cmdd-working, and will continue catching up and providing specific feedback.