xtensa: migrate to the generic rule for built-in DTB
Subsystems (2)
PATCH 1/1 xtensa: migrate to the generic rule for built-in DTB
Commit 654102df2ac2 ("kbuild: add generic support for built-in boot DTBs") introduced generic support for built-in DTBs.
Select GENERIC_BUILTIN_DTB to use the generic rule.
To keep consistency across architectures, this commit also renames CONFIG_BUILTIN_DTB_SOURCE to CONFIG_BUILTIN_DTB_NAME.
---
arch/xtensa/Kbuild | 2 +- arch/xtensa/Kconfig | 3 ++- arch/xtensa/boot/dts/Makefile | 2 +- arch/xtensa/configs/audio_kc705_defconfig | 2 +- arch/xtensa/configs/cadence_csp_defconfig | 2 +- arch/xtensa/configs/generic_kc705_defconfig | 2 +- arch/xtensa/configs/nommu_kc705_defconfig | 2 +- arch/xtensa/configs/smp_lx200_defconfig | 2 +- arch/xtensa/configs/virt_defconfig | 2 +- arch/xtensa/configs/xip_kc705_defconfig | 2 +- 10 files changed, 11 insertions(+), 10 deletions(-)
arch/xtensa/Kbuild +1 -1
@@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-y += kernel/ mm/ platforms/ boot/dts/ +obj-y += kernel/ mm/ platforms/
arch/xtensa/Kconfig +2 -1
@@ -20,6 +20,7 @@ config XTENSA select ARCH_USE_QUEUED_SPINLOCKS select ARCH_WANT_IPC_PARSE_VERSION select BUILDTIME_TABLE_SORT + select GENERIC_BUILTIN_DTB select CLONE_BACKWARDS select COMMON_CLK select DMA_NONCOHERENT_MMAP if MMU
@@ -462,7 +463,7 @@ config USE_OF help Include support for flattened device tree machine descriptions. -config BUILTIN_DTB_SOURCE +config BUILTIN_DTB_NAME string "DTB to build into the kernel image" depends on OF
arch/xtensa/boot/dts/Makefile +1 -1
@@ -7,7 +7,7 @@ # # -obj-$(CONFIG_OF) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_SOURCE)) +dtb-$(CONFIG_OF) += $(addsuffix .dtb, $(CONFIG_BUILTIN_DTB_NAME)) # for CONFIG_OF_ALL_DTBS test dtb- := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts))
arch/xtensa/configs/audio_kc705_defconfig +1 -1
@@ -30,7 +30,7 @@ CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000@0" CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB_SOURCE="kc705" +CONFIG_BUILTIN_DTB_NAME="kc705" # CONFIG_COMPACTION is not set # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_PM=y
arch/xtensa/configs/cadence_csp_defconfig +1 -1
@@ -35,7 +35,7 @@ CONFIG_HIGHMEM=y # CONFIG_PCI is not set CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB_SOURCE="csp" +CONFIG_BUILTIN_DTB_NAME="csp" # CONFIG_COMPACTION is not set CONFIG_XTFPGA_LCD=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
arch/xtensa/configs/generic_kc705_defconfig +1 -1
@@ -29,7 +29,7 @@ CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000@0" CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB_SOURCE="kc705" +CONFIG_BUILTIN_DTB_NAME="kc705" # CONFIG_COMPACTION is not set # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_NET=y
arch/xtensa/configs/nommu_kc705_defconfig +1 -1
@@ -36,7 +36,7 @@ CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0x9d050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=256M@0x60000000" CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB_SOURCE="kc705_nommu" +CONFIG_BUILTIN_DTB_NAME="kc705_nommu" CONFIG_BINFMT_FLAT=y CONFIG_NET=y CONFIG_PACKET=y
arch/xtensa/configs/smp_lx200_defconfig +1 -1
@@ -33,7 +33,7 @@ CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=96M@0" CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB_SOURCE="lx200mx" +CONFIG_BUILTIN_DTB_NAME="lx200mx" # CONFIG_COMPACTION is not set # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_NET=y
arch/xtensa/configs/virt_defconfig +1 -1
@@ -24,7 +24,7 @@ CONFIG_HIGHMEM=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x80000000@0" CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB_SOURCE="virt" +CONFIG_BUILTIN_DTB_NAME="virt" # CONFIG_PARSE_BOOTPARAM is not set CONFIG_JUMP_LABEL=y CONFIG_MODULES=y
arch/xtensa/configs/xip_kc705_defconfig +1 -1
@@ -29,7 +29,7 @@ CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=0x38000000@0" CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB_SOURCE="kc705" +CONFIG_BUILTIN_DTB_NAME="kc705" # CONFIG_PARSE_BOOTPARAM is not set # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_COMPACTION is not set
Signature · 1 line
2.43.0
Quoted 10 lines · Masahiro Yamada
Commit
654102df2ac2("kbuild: add generic support for built-in boot DTBs") introduced generic support for built-in DTBs.Select
GENERIC_BUILTIN_DTBto use the generic rule.To keep consistency across architectures, this commit also renames
CONFIG_BUILTIN_DTB_SOURCEtoCONFIG_BUILTIN_DTB_NAME.Signed-off-by Masahiro Yamada <[email protected]>
Ping?
Signature · 2 lines
Best Regards Masahiro Yamada
Quoted 6 lines · Masahiro Yamada
Quoted 4 lines · Masahiro Yamada
Commit
654102df2ac2("kbuild: add generic support for built-in boot DTBs") introduced generic support for built-in DTBs.
Quoted 8 lines
Quoted 6 lines
Select
GENERIC_BUILTIN_DTBto use the generic rule.To keep consistency across architectures, this commit also renames
CONFIG_BUILTIN_DTB_SOURCEtoCONFIG_BUILTIN_DTB_NAME.Signed-off-by Masahiro Yamada <[email protected]>Ping?
Thanks, applied to my xtensa tree.
Sorry for the delay.
-- Max
Quoted 13 lines · Max Filippov
Quoted 11 lines · Masahiro Yamada
Quoted 9 lines · Masahiro Yamada
Commit
654102df2ac2("kbuild: add generic support for built-in boot DTBs") introduced generic support for built-in DTBs.Select
GENERIC_BUILTIN_DTBto use the generic rule.To keep consistency across architectures, this commit also renames
CONFIG_BUILTIN_DTB_SOURCEtoCONFIG_BUILTIN_DTB_NAME.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Masahiro Yamada <[email protected]>Ping?
Thanks, applied to my xtensa tree.
Sorry for the delay.
This has not been available in Linus' tree yet.
Will you send a pull request in the next merge window?
Signature · 2 lines
Best Regards Masahiro Yamada
Max Filippov
maintainerQuoted 14 lines · Masahiro Yamada
Quoted 13 lines · Max Filippov
Quoted 12 lines · Masahiro Yamada
Quoted 10 lines · Masahiro Yamada
Commit
654102df2ac2("kbuild: add generic support for built-in boot DTBs") introduced generic support for built-in DTBs.Select
GENERIC_BUILTIN_DTBto use the generic rule.To keep consistency across architectures, this commit also renames
CONFIG_BUILTIN_DTB_SOURCEtoCONFIG_BUILTIN_DTB_NAME.Signed-off-by Masahiro Yamada <[email protected]>
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Ping?
Thanks, applied to my xtensa tree.
Sorry for the delay.This has not been available in Linus' tree yet. Will you send a pull request in the next merge window?
I will.
Signature · 2 lines
Thanks. -- Max