soc/amd/stoneyridge/include/soc/smi.h: Fix name collision
When smi.h is included to southbridge.h (to use SCI/SMI definitions within southbridge.h definitions), this causes a collision of the definition of NONE (ioapic.h also has a NONE definition). As NONE is an enumeration of interrupt types (SCI/SMI), add INTERRUPT_ at the start of each definition. This is preparation to have GPIO table/code also declare/program SCI/SMI. BUG=b:72875858 TEST=Build grunt. Change-Id: I5c7b798f9f4d7c2a9f9c606c7ebffb7004a37b99 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/25845 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
614135359d
commit
12c12d1e07
|
@ -201,10 +201,10 @@ enum smi_mode {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum smi_sci_type {
|
enum smi_sci_type {
|
||||||
NONE,
|
INTERRUPT_NONE,
|
||||||
SCI,
|
INTERRUPT_SCI,
|
||||||
SMI,
|
INTERRUPT_SMI,
|
||||||
BOTH,
|
INTERRUPT_BOTH,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum smi_sci_lvl {
|
enum smi_sci_lvl {
|
||||||
|
|
Loading…
Reference in New Issue