• Arnd Bergmann's avatar
    ARM: make ARCH_MULTIPLATFORM user-visible · 84fc8636
    Arnd Bergmann authored
    Some options like CONFIG_DEBUG_UNCOMPRESS and CONFIG_CMDLINE_FORCE are
    fundamentally incompatible with portable kernels but are currently allowed
    in all configurations. Other options like XIP_KERNEL are essentially
    useless after the completion of the multiplatform conversion.
    
    Repurpose the existing CONFIG_ARCH_MULTIPLATFORM option to decide
    whether the resulting kernel image is meant to be portable or not,
    and using this to guard all of the known incompatible options.
    
    This is similar to how the RISC-V kernel handles the CONFIG_NONPORTABLE
    option (with the opposite polarity).
    
    A few references to CONFIG_ARCH_MULTIPLATFORM were left behind by
    earlier clanups and have to be removed now up.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    84fc8636
devtree.c 5.78 KB