soc/amd/*/include/smi: move NUMBER_SMITYPES definition to the top

Since all other defines for the number of certain things are at the top
of the file, move NUMBER_SMITYPES there as well to keep things
consistent.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Idfb599531d6cc382ab258bd1eae89e7b35fa9e79
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58953
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Felix Held 2021-11-04 04:44:54 +01:00
parent 996808e52a
commit e14f363d3b
3 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,7 @@
#define SMI_GEVENTS 24
#define SCIMAPS 59 /* 0..58 */
#define SCI_GPES 32
#define NUMBER_SMITYPES 160
#define SMI_EVENT_STATUS 0x0
#define SMI_EVENT_ENABLE 0x04
@ -138,7 +139,7 @@
/* 153-155 Reserved */
#define SMITYPE_CFGTRAP0 156
/* 157-159 Reserved */
#define NUMBER_SMITYPES 160
#define TYPE_TO_MASK(X) (1 << (X) % 32)
#define SMI_REG_SMISTS0 0x80

View File

@ -8,6 +8,7 @@
#define SMI_GEVENTS 24
#define SCIMAPS 59 /* 0..58 */
#define SCI_GPES 32
#define NUMBER_SMITYPES 160
#define SMI_EVENT_STATUS 0x0
#define SMI_EVENT_ENABLE 0x04
@ -140,7 +141,7 @@
/* 153-155 Reserved */
#define SMITYPE_CFGTRAP0 156
/* 157-159 Reserved */
#define NUMBER_SMITYPES 160
#define TYPE_TO_MASK(X) (1 << (X) % 32)
#define SMI_REG_SMISTS0 0x80

View File

@ -6,6 +6,7 @@
#define SMI_GEVENTS 24
#define SCIMAPS 59 /* 0..58 */
#define SCI_GPES 32
#define NUMBER_SMITYPES 160
#define SMI_EVENT_STATUS 0x0
#define SMI_EVENT_ENABLE 0x04
@ -138,7 +139,7 @@
/* 153-155 Reserved */
#define SMITYPE_CFGTRAP0 156
/* 157-159 Reserved */
#define NUMBER_SMITYPES 160
#define TYPE_TO_MASK(X) (1 << (X) % 32)
#define SMI_REG_SMISTS0 0x80