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:
Patrick Georgi 2012-12-19 16:32:47 +01:00 committed by Stefan Reinauer
parent 64b364d1ec
commit 72a2eaf4d5
19 changed files with 4 additions and 7 deletions

View File

@ -260,8 +260,8 @@ ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/fadt.c
endif
endif
ifeq ($(CONFIG_HAVE_SMI_HANDLER),y)
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/mainboard_smi.c),)
smm-srcs += src/mainboard/$(MAINBOARDDIR)/mainboard_smi.c
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/smihandler.c),)
smm-srcs += src/mainboard/$(MAINBOARDDIR)/smihandler.c
endif
endif
ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/get_bus_conf.c),)

View File

@ -425,14 +425,14 @@ Scope(\_SB)
Method(SBLL, 1, Serialized)
{
Store (Arg0, BRTL)
TRAP(0xd5) // See mainboard_smi.c
TRAP(0xd5) // See mainboard's smihandler.c
Return (0)
}
/* Get Brightness Level */
Method(GBLL, 0, Serialized)
{
TRAP(0xd6) // See mainboard_smi.c
TRAP(0xd6) // See mainboard's smihandler.c
Return (BRTL)
}

View File

@ -22,6 +22,4 @@ ramstage-y += ec.c
romstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c
SRC_ROOT = $(src)/mainboard/google/parrot

View File

@ -18,4 +18,3 @@
##
ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += ti_pci7xx1.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c