Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Bin Meng | ebe7874 | 2016-06-17 02:13:14 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> |
Bin Meng | ebe7874 | 2016-06-17 02:13:14 -0700 | [diff] [blame] | 4 | */ |
| 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 Glass | 6fe570a | 2020-09-22 12:44:53 -0600 | [diff] [blame] | 14 | * |
| 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 Meng | ebe7874 | 2016-06-17 02:13:14 -0700 | [diff] [blame] | 17 | */ |
| 18 | #define ACPI_GNVS_ADDR 0xdeadbeef |
Simon Glass | 91f2f19 | 2020-09-22 12:44:54 -0600 | [diff] [blame] | 19 | #define ACPI_GNVS_SIZE 0x1000 |
Bin Meng | ebe7874 | 2016-06-17 02:13:14 -0700 | [diff] [blame] | 20 | |
| 21 | #endif /* _ACPI_GNVS_H_ */ |