diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-05-25 19:19:12 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-05-30 10:21:12 +0800 |
commit | e6ddb6b0135949e67bf5face7bdff522e493e1e2 (patch) | |
tree | f9b65ad5e3ad6eed193e6a190d40c27e6c9e9a63 /board | |
parent | 7ee371063f3cf779740bb35e0c31dc04fc132e9b (diff) | |
download | u-boot-imx-e6ddb6b0135949e67bf5face7bdff522e493e1e2.zip u-boot-imx-e6ddb6b0135949e67bf5face7bdff522e493e1e2.tar.gz u-boot-imx-e6ddb6b0135949e67bf5face7bdff522e493e1e2.tar.bz2 |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/intel/galileo/.gitignore | 3 | ||||
-rw-r--r-- | board/intel/galileo/Makefile | 1 | ||||
-rw-r--r-- | board/intel/galileo/acpi/mainboard.asl | 11 | ||||
-rw-r--r-- | board/intel/galileo/dsdt.asl | 14 |
4 files changed, 29 insertions, 0 deletions
diff --git a/board/intel/galileo/.gitignore b/board/intel/galileo/.gitignore new file mode 100644 index 0000000..6eb8a54 --- /dev/null +++ b/board/intel/galileo/.gitignore @@ -0,0 +1,3 @@ +dsdt.aml +dsdt.asl.tmp +dsdt.c diff --git a/board/intel/galileo/Makefile b/board/intel/galileo/Makefile index 8356df1..bbe2f8b 100644 --- a/board/intel/galileo/Makefile +++ b/board/intel/galileo/Makefile @@ -5,3 +5,4 @@ # obj-y += galileo.o start.o +obj-$(CONFIG_GENERATE_ACPI_TABLE) += dsdt.o diff --git a/board/intel/galileo/acpi/mainboard.asl b/board/intel/galileo/acpi/mainboard.asl new file mode 100644 index 0000000..21785ea --- /dev/null +++ b/board/intel/galileo/acpi/mainboard.asl @@ -0,0 +1,11 @@ +/* + * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +/* Power Button */ +Device (PWRB) +{ + Name(_HID, EISAID("PNP0C0C")) +} diff --git a/board/intel/galileo/dsdt.asl b/board/intel/galileo/dsdt.asl new file mode 100644 index 0000000..6042011 --- /dev/null +++ b/board/intel/galileo/dsdt.asl @@ -0,0 +1,14 @@ +/* + * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +DefinitionBlock("dsdt.aml", "DSDT", 2, "U-BOOT", "U-BOOTBL", 0x00010000) +{ + /* platform specific */ + #include <asm/arch/acpi/platform.asl> + + /* board specific */ + #include "acpi/mainboard.asl" +} |