Thread (16 messages) 16 messages, 4 authors, 2018-10-01

Re: [PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

From: Andreas Färber <afaerber@suse.de>
Date: 2018-09-28 17:21:51
Also in: linux-arm-kernel, linux-devicetree, linux-kbuild, linux-mips, lkml

Hi Geert,

Am 13.09.18 um 17:51 schrieb Geert Uytterhoeven:
On Wed, Sep 12, 2018 at 3:02 AM Masahiro Yamada
[off-list ref] wrote:
quoted
Even x86 can enable OF and OF_UNITTEST.

Another solution might be,
guard it by 'depends on ARCH_SUPPORTS_OF'.

This is actually what ACPI does.

menuconfig ACPI
        bool "ACPI (Advanced Configuration and Power Interface) Support"
        depends on ARCH_SUPPORTS_ACPI
         ...
ACPI is a real platform feature, as it depends on firmware.

CONFIG_OF can be enabled, and DT overlays can be loaded, on any platform,
even if it has ACPI ;-)
How would loading a DT overlay work on an ACPI platform? I.e., what
would it overlay against and how to practically load such a file?

I wonder whether that could be helpful for USB devices and serdev...

Cheers,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help