Rename mainboard_smi.c to smihandler.c
This mirrors the naming convention of handlers in northbridge and southbridge. Change-Id: I45d97c569991c955f0ae54ce909d8c267e9a5173 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/2058 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
64b364d1ec
commit
72a2eaf4d5
|
@ -260,8 +260,8 @@ ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/fadt.c
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_HAVE_SMI_HANDLER),y)
|
ifeq ($(CONFIG_HAVE_SMI_HANDLER),y)
|
||||||
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/mainboard_smi.c),)
|
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/smihandler.c),)
|
||||||
smm-srcs += src/mainboard/$(MAINBOARDDIR)/mainboard_smi.c
|
smm-srcs += src/mainboard/$(MAINBOARDDIR)/smihandler.c
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/get_bus_conf.c),)
|
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/get_bus_conf.c),)
|
||||||
|
|
|
@ -425,14 +425,14 @@ Scope(\_SB)
|
||||||
Method(SBLL, 1, Serialized)
|
Method(SBLL, 1, Serialized)
|
||||||
{
|
{
|
||||||
Store (Arg0, BRTL)
|
Store (Arg0, BRTL)
|
||||||
TRAP(0xd5) // See mainboard_smi.c
|
TRAP(0xd5) // See mainboard's smihandler.c
|
||||||
Return (0)
|
Return (0)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get Brightness Level */
|
/* Get Brightness Level */
|
||||||
Method(GBLL, 0, Serialized)
|
Method(GBLL, 0, Serialized)
|
||||||
{
|
{
|
||||||
TRAP(0xd6) // See mainboard_smi.c
|
TRAP(0xd6) // See mainboard's smihandler.c
|
||||||
Return (BRTL)
|
Return (BRTL)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,4 @@ ramstage-y += ec.c
|
||||||
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||||
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||||
|
|
||||||
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c
|
|
||||||
|
|
||||||
SRC_ROOT = $(src)/mainboard/google/parrot
|
SRC_ROOT = $(src)/mainboard/google/parrot
|
||||||
|
|
|
@ -18,4 +18,3 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += ti_pci7xx1.c
|
ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += ti_pci7xx1.c
|
||||||
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c
|
|
||||||
|
|
Loading…
Reference in New Issue