summaryrefslogtreecommitdiff
path: root/src/soc/amd/phoenix/include/soc/nvs.h
blob: 6e0de9e4ba3609160586f9f12f5f50d9641e9a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-or-later */

/*
 * NOTE: The layout of the global_nvs structure below must match the layout
 * in soc/soc/amd/phoenix/acpi/globalnvs.asl !!!
 *
 */

#ifndef AMD_PHOENIX_NVS_H
#define AMD_PHOENIX_NVS_H

#include <stdint.h>

struct __packed global_nvs {
	/* Miscellaneous */
	uint32_t	unused_was_cbmc; /* 0x00 - 0x03 - coreboot Memory Console */
	uint64_t	pm1i; /* 0x04 - 0x0b - System Wake Source - PM1 Index */
	uint64_t	gpei; /* 0x0c - 0x13 - GPE Wake Source */
};

#endif /* AMD_PHOENIX_NVS_H */