]> git.dujemihanovic.xyz Git - linux.git/commit
Revert "of: fdt: Honor CONFIG_CMDLINE* even without /chosen node"
authorRob Herring <robh@kernel.org>
Tue, 3 Jan 2023 18:00:31 +0000 (12:00 -0600)
committerRob Herring <robh@kernel.org>
Thu, 5 Jan 2023 03:31:59 +0000 (21:31 -0600)
commitbd0ddcfc83d85bc30c868f2c3457312c7f1ccee2
tree55f7be12c3705537283437e5c2c79a1e5584441a
parent1d7a4a40bf76e2305c8beed4a019bf58af6121ac
Revert "of: fdt: Honor CONFIG_CMDLINE* even without /chosen node"

This reverts commit a7d550f82b445cf218b47a2c1a9c56e97ecb8c7a.

Some arches (PPC at least) don't call early_init_dt_scan_nodes(), so
moving the cmdline processing there breaks them.

Reported-by: Geoff Levand <geoff@infradead.org>
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Tested-by: Geoff Levand <geoff@infradead.org>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20230103-dt-cmdline-fix-v1-1-7038e88b18b6@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c