Commit e6ddb6b0135949e67bf5face7bdff522e493e1e2
1 parent
7ee371063f
Exists in
v2017.01-smarct4x
and in
25 other branches
x86: galileo: Enable ACPI table generation
Enable ACPI table generation by creating a DSDT table. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Showing 6 changed files with 34 additions and 1 deletions Side-by-side Diff
board/intel/galileo/.gitignore
board/intel/galileo/Makefile
board/intel/galileo/acpi/mainboard.asl
board/intel/galileo/dsdt.asl
1 | +/* | |
2 | + * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> | |
3 | + * | |
4 | + * SPDX-License-Identifier: GPL-2.0+ | |
5 | + */ | |
6 | + | |
7 | +DefinitionBlock("dsdt.aml", "DSDT", 2, "U-BOOT", "U-BOOTBL", 0x00010000) | |
8 | +{ | |
9 | + /* platform specific */ | |
10 | + #include <asm/arch/acpi/platform.asl> | |
11 | + | |
12 | + /* board specific */ | |
13 | + #include "acpi/mainboard.asl" | |
14 | +} |
configs/galileo_defconfig
doc/README.x86
... | ... | @@ -1028,11 +1028,14 @@ |
1028 | 1028 | those legacy stuff into U-Boot. ACPI spec allows a system that does not |
1029 | 1029 | support SMI (a legacy-free system). |
1030 | 1030 | |
1031 | -So far ACPI is enabled on BayTrail based boards. Testing was done by booting | |
1031 | +ACPI was initially enabled on BayTrail based boards. Testing was done by booting | |
1032 | 1032 | a pre-installed Ubuntu 14.04 from a SATA drive. Installing Ubuntu 14.04 and |
1033 | 1033 | Windows 8.1/10 to a SATA drive and booting from there is also tested. Most |
1034 | 1034 | devices seem to work correctly and the board can respond a reboot/shutdown |
1035 | 1035 | command from the OS. |
1036 | + | |
1037 | +For other platform boards, ACPI support status can be checked by examining their | |
1038 | +board defconfig files to see if CONFIG_GENERATE_ACPI_TABLE is set to y. | |
1036 | 1039 | |
1037 | 1040 | TODO List |
1038 | 1041 | --------- |