nios2: migrate to the generic rule for built-in DTB
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Dec 2024 00:30:53 +0000 (09:30 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 5 Apr 2025 21:22:01 +0000 (06:22 +0900)
commit3b8241f64c469e449e862cf2bdc50b879fa18f93
tree06151260b254b2a4613000ae0cc7f270a3a2da72
parent2c8725c1dca3de043670b38592b1b43105322496
nios2: 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 when built-in DTB support is enabled.

To keep consistency across architectures, this commit also renames
CONFIG_NIOS2_DTB_SOURCE_BOOL to CONFIG_BUILTIN_DTB, and
CONFIG_NIOS2_DTB_SOURCE to CONFIG_BUILTIN_DTB_NAME.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
arch/nios2/Kbuild
arch/nios2/boot/dts/Makefile
arch/nios2/kernel/prom.c
arch/nios2/platform/Kconfig.platform