Re: [PATCH 0/2] of: Fix handling CONFIG_CMDLINE* even without /chosen node

From: Geoff Levand
Date: Tue Jan 03 2023 - 20:32:03 EST


Hi Rob,

On 1/3/23 10:00, Rob Herring wrote:
>
> Let's revert the above commit and redo the missing /chosen node handling
> within early_init_dt_scan_chosen().
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> Rob Herring (2):
> Revert "of: fdt: Honor CONFIG_CMDLINE* even without /chosen node"
> of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2
>
> drivers/of/fdt.c | 54 ++++++++++++++++++++++++++++--------------------------
> 1 file changed, 28 insertions(+), 26 deletions(-)

I applied these two patches to v6.2-rc2 and tested on PS3. I used a kernel
config file that had a CONFIG_CMDLINE, and CONFIG_CMDLINE_FORCE=y set.
Everything seemed to work OK.

Tested-by: Geoff Levand <geoff@xxxxxxxxxxxxx>