• Binbin Zhou's avatar
    LoongArch: Allow device trees be built into the kernel · 5f346a6e
    Binbin Zhou authored
    During the upstream progress of those DT-based drivers, DT properties
    are changed a lot so very different from those in existing bootloaders.
    It is inevitably that some existing systems do not provide a standard,
    canonical device tree to the kernel at boot time. So let's provide a
    device tree table in the kernel, keyed by the dts filename, containing
    the relevant DTBs.
    
    We can use the built-in dts files as references. Each SoC has only one
    built-in dts file which describes all possible device information of
    that SoC, so the dts files are good examples during development.
    
    And as a reference, our built-in dts file only enables the most basic
    bootable combinations (so it is generic enough), acts as an alternative
    in case the dts in the bootloader is unexpected.
    Signed-off-by: default avatarBinbin Zhou <zhoubinbin@loongson.cn>
    Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
    5f346a6e
Makefile 5.31 KB