summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/quark/acpi.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-06-17 02:13:15 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-07-12 13:46:01 +0800
commitcf7108b320e1851b829d6adc9bd4f4462c5f5072 (patch)
tree1fdd451906d68da3b16179d02c6241dbf2ff73a3 /arch/x86/cpu/quark/acpi.c
parent2047390abc04b921764bd23eeffc0d3e83a2a674 (diff)
downloadu-boot-imx-cf7108b320e1851b829d6adc9bd4f4462c5f5072.zip
u-boot-imx-cf7108b320e1851b829d6adc9bd4f4462c5f5072.tar.gz
u-boot-imx-cf7108b320e1851b829d6adc9bd4f4462c5f5072.tar.bz2
x86: quark: Introduce ACPI global NVS
This introduces quark-specific ACPI global NVS structure, defined in both C header file and ASL file. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/quark/acpi.c')
-rw-r--r--arch/x86/cpu/quark/acpi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/cpu/quark/acpi.c b/arch/x86/cpu/quark/acpi.c
index 8f69829..3968f7a 100644
--- a/arch/x86/cpu/quark/acpi.c
+++ b/arch/x86/cpu/quark/acpi.c
@@ -9,6 +9,7 @@
#include <asm/ioapic.h>
#include <asm/mpspec.h>
#include <asm/tables.h>
+#include <asm/arch/global_nvs.h>
#include <asm/arch/iomap.h>
void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs,
@@ -161,3 +162,9 @@ u32 acpi_fill_madt(u32 current)
return current;
}
+
+void acpi_create_gnvs(struct acpi_global_nvs *gnvs)
+{
+ /* quark is a uni-processor */
+ gnvs->pcnt = 1;
+}