blob: 46383629cc53f47d8318a3b5e72eccb7f26906c0 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Bin Mengebe78742016-06-17 02:13:14 -07002/*
3 * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
Bin Mengebe78742016-06-17 02:13:14 -07004 */
5
6#ifndef _ACPI_GNVS_H_
7#define _ACPI_GNVS_H_
8
9/*
10 * This file provides two ACPI global NVS macros: ACPI_GNVS_ADDR and
11 * ACPI_GNVS_SIZE. They are to be used in platform's global_nvs.asl file
12 * to declare the GNVS OperationRegion, as well as write_acpi_tables()
13 * for the GNVS address runtime fix up.
Simon Glass6fe570a2020-09-22 12:44:53 -060014 *
15 * If using CONFIG_ACPI_GNVS_EXTERNAL, we don't need to locate the GNVS in
16 * DSDT, since it is created by code, so ACPI_GNVS_ADDR is unused.
Bin Mengebe78742016-06-17 02:13:14 -070017 */
18#define ACPI_GNVS_ADDR 0xdeadbeef
Simon Glass91f2f192020-09-22 12:44:54 -060019#define ACPI_GNVS_SIZE 0x1000
Bin Mengebe78742016-06-17 02:13:14 -070020
21#endif /* _ACPI_GNVS_H_ */