blob: 1e539fda0670fff2b4566be77ef97fa122c8c09e [file] [log] [blame]
Simon Glass59561c72020-09-22 12:45:05 -06001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * SMM definitions (U-Boot does not support SMM itself)
4 *
5 * Copyright (C) 2008-2009 coresystems GmbH
6 * Copyright 2019 Google LLC
7 *
8 * Modified from coreboot smm.h
9 */
10
11#ifndef _ASM_SMM_H
12#define _ASM_SMM_H
13
14#define APM_CNT 0xb2
15#define APM_CNT_CST_CONTROL 0x85
16#define APM_CNT_PST_CONTROL 0x80
17#define APM_CNT_ACPI_DISABLE 0x1e
18#define APM_CNT_ACPI_ENABLE 0xe1
19#define APM_CNT_MBI_UPDATE 0xeb
20#define APM_CNT_GNVS_UPDATE 0xea
21#define APM_CNT_FINALIZE 0xcb
22#define APM_CNT_LEGACY 0xcc
23#define APM_CNT_SMMSTORE 0xed
24#define APM_CNT_ELOG_GSMI 0xef
25#define APM_STS 0xb3
26
27#endif /* _ASM_SMM_H */