2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-18 02:24:21 +08:00
linux-next/arch/riscv
Damien Le Moal d5805af9fe
riscv: Fix builtin DTB handling
All SiPeed K210 MAIX boards have the exact same vendor, arch and
implementation IDs, preventing differentiation to select the correct
device tree to use through the SOC_BUILTIN_DTB_DECLARE() macro. This
result in this macro to be useless and mandates changing the code of
the sysctl driver to change the builtin device tree suitable for the
target board.

Fix this problem by removing the SOC_BUILTIN_DTB_DECLARE() macro since
it is used only for the K210 support. The code searching the builtin
DTBs using the vendor, arch an implementation IDs is also removed.
Support for builtin DTB falls back to the simpler and more traditional
handling of builtin DTB using the CONFIG_BUILTIN_DTB option, similarly
to other architectures.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-01-07 19:00:50 -08:00
..
boot riscv: Fix builtin DTB handling 2021-01-07 19:00:50 -08:00
configs RISC-V: Add EFI stub support. 2020-10-02 14:31:21 -07:00
include riscv: Fix builtin DTB handling 2021-01-07 19:00:50 -08:00
kernel riscv: Fix builtin DTB handling 2021-01-07 19:00:50 -08:00
lib riscv: provide memmove implementation 2020-12-10 17:27:54 -08:00
mm riscv: Fix builtin DTB handling 2021-01-07 19:00:50 -08:00
net treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kbuild riscv: Allow device trees to be built into the kernel 2020-05-18 11:38:05 -07:00
Kconfig RISC-V Patches for the 5.11 Merge Window, Part 1 2020-12-18 10:43:07 -08:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: Fix builtin DTB handling 2021-01-07 19:00:50 -08:00
Makefile riscv: Clean up boot dir 2020-11-09 11:54:45 -08:00