• 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
x86_init.c 1.75 KB