2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2016-06-17 09:13:14 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ACPI_GNVS_H_
|
|
|
|
#define _ACPI_GNVS_H_
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file provides two ACPI global NVS macros: ACPI_GNVS_ADDR and
|
|
|
|
* ACPI_GNVS_SIZE. They are to be used in platform's global_nvs.asl file
|
|
|
|
* to declare the GNVS OperationRegion, as well as write_acpi_tables()
|
|
|
|
* for the GNVS address runtime fix up.
|
2020-09-22 18:44:53 +00:00
|
|
|
*
|
|
|
|
* If using CONFIG_ACPI_GNVS_EXTERNAL, we don't need to locate the GNVS in
|
|
|
|
* DSDT, since it is created by code, so ACPI_GNVS_ADDR is unused.
|
2016-06-17 09:13:14 +00:00
|
|
|
*/
|
|
|
|
#define ACPI_GNVS_ADDR 0xdeadbeef
|
2020-09-22 18:44:54 +00:00
|
|
|
#define ACPI_GNVS_SIZE 0x1000
|
2016-06-17 09:13:14 +00:00
|
|
|
|
|
|
|
#endif /* _ACPI_GNVS_H_ */
|