• Thomas Gleixner's avatar
    x86: Add early platform detection · 47a3d5da
    Thomas Gleixner authored
    Platforms like Moorestown require early setup and want to avoid the
    call to reserve_ebda_region. The x86_init override is too late when
    the MRST detection happens in setup_arch. Move the default i386
    x86_init overrides and the call to reserve_ebda_region into a separate
    function which is called as the default of a switch case depending on
    the hardware_subarch id in boot params. This allows us to add a case
    for MRST and let MRST have its own early setup function.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    47a3d5da
head64.c 3.23 KB