Skip to content
  • Saket Sinha's avatar
    x86: Generate a valid ACPI table · 867bcb63
    Saket Sinha authored
    
    
    Implement write_acpi_table() to create a minimal working ACPI table.
    This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT & SSDT
    ACPI table entries.
    
    Use a Kconfig option GENERATE_ACPI_TABLE to tell U-Boot whether we need
    actually write the APCI table just like we did for PIRQ routing, MP table
    and SFI tables. With ACPI table existence, linux kernel gets control of
    power management, thermal management, configuration management and
    monitoring in hardware.
    
    Signed-off-by: default avatarSaket Sinha <saket.sinha89@gmail.com>
    Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
    Tidied up whitespace and aligned some tabs:
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    867bcb63