summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-12-19 16:32:47 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-01-03 19:33:01 +0100
commit72a2eaf4d5364d5c5b7632b75d62c84f7bf490c8 (patch)
treef63ecf0523f5d8f225ce0db00e65fa52e1fade9c
parent64b364d1ec85f97fe948ba41cf8e7a3f43503829 (diff)
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>
-rw-r--r--src/arch/x86/Makefile.inc4
-rw-r--r--src/mainboard/getac/p470/acpi/ec.asl4
-rw-r--r--src/mainboard/getac/p470/smihandler.c (renamed from src/mainboard/getac/p470/mainboard_smi.c)0
-rw-r--r--src/mainboard/google/parrot/Makefile.inc2
-rw-r--r--src/mainboard/google/parrot/smihandler.c (renamed from src/mainboard/google/parrot/mainboard_smi.c)0
-rw-r--r--src/mainboard/ibase/mb899/smihandler.c (renamed from src/mainboard/ibase/mb899/mainboard_smi.c)0
-rw-r--r--src/mainboard/intel/d945gclf/smihandler.c (renamed from src/mainboard/intel/d945gclf/mainboard_smi.c)0
-rw-r--r--src/mainboard/intel/emeraldlake2/smihandler.c (renamed from src/mainboard/intel/emeraldlake2/mainboard_smi.c)0
-rw-r--r--src/mainboard/iwave/iWRainbowG6/smihandler.c (renamed from src/mainboard/iwave/iWRainbowG6/mainboard_smi.c)0
-rw-r--r--src/mainboard/kontron/986lcd-m/smihandler.c (renamed from src/mainboard/kontron/986lcd-m/mainboard_smi.c)0
-rw-r--r--src/mainboard/lenovo/t60/smihandler.c (renamed from src/mainboard/lenovo/t60/mainboard_smi.c)0
-rw-r--r--src/mainboard/lenovo/x60/smihandler.c (renamed from src/mainboard/lenovo/x60/mainboard_smi.c)0
-rw-r--r--src/mainboard/rca/rm4100/smihandler.c (renamed from src/mainboard/rca/rm4100/mainboard_smi.c)0
-rw-r--r--src/mainboard/roda/rk886ex/smihandler.c (renamed from src/mainboard/roda/rk886ex/mainboard_smi.c)0
-rw-r--r--src/mainboard/roda/rk9/Makefile.inc1
-rw-r--r--src/mainboard/roda/rk9/smihandler.c (renamed from src/mainboard/roda/rk9/mainboard_smi.c)0
-rw-r--r--src/mainboard/samsung/lumpy/smihandler.c (renamed from src/mainboard/samsung/lumpy/mainboard_smi.c)0
-rw-r--r--src/mainboard/samsung/stumpy/smihandler.c (renamed from src/mainboard/samsung/stumpy/mainboard_smi.c)0
-rw-r--r--src/mainboard/thomson/ip1000/smihandler.c (renamed from src/mainboard/thomson/ip1000/mainboard_smi.c)0
19 files changed, 4 insertions, 7 deletions
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index b8ad37e187..e84700e2b2 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -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),)
diff --git a/src/mainboard/getac/p470/acpi/ec.asl b/src/mainboard/getac/p470/acpi/ec.asl
index 70faab2836..b8e2954558 100644
--- a/src/mainboard/getac/p470/acpi/ec.asl
+++ b/src/mainboard/getac/p470/acpi/ec.asl
@@ -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)
}
diff --git a/src/mainboard/getac/p470/mainboard_smi.c b/src/mainboard/getac/p470/smihandler.c
index 4a5a3ffbbb..4a5a3ffbbb 100644
--- a/src/mainboard/getac/p470/mainboard_smi.c
+++ b/src/mainboard/getac/p470/smihandler.c
diff --git a/src/mainboard/google/parrot/Makefile.inc b/src/mainboard/google/parrot/Makefile.inc
index c4fb74dcd6..f2de43ea40 100644
--- a/src/mainboard/google/parrot/Makefile.inc
+++ b/src/mainboard/google/parrot/Makefile.inc
@@ -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
diff --git a/src/mainboard/google/parrot/mainboard_smi.c b/src/mainboard/google/parrot/smihandler.c
index 6f83fd8f00..6f83fd8f00 100644
--- a/src/mainboard/google/parrot/mainboard_smi.c
+++ b/src/mainboard/google/parrot/smihandler.c
diff --git a/src/mainboard/ibase/mb899/mainboard_smi.c b/src/mainboard/ibase/mb899/smihandler.c
index 3e3bee7e6d..3e3bee7e6d 100644
--- a/src/mainboard/ibase/mb899/mainboard_smi.c
+++ b/src/mainboard/ibase/mb899/smihandler.c
diff --git a/src/mainboard/intel/d945gclf/mainboard_smi.c b/src/mainboard/intel/d945gclf/smihandler.c
index dbd1a81a64..dbd1a81a64 100644
--- a/src/mainboard/intel/d945gclf/mainboard_smi.c
+++ b/src/mainboard/intel/d945gclf/smihandler.c
diff --git a/src/mainboard/intel/emeraldlake2/mainboard_smi.c b/src/mainboard/intel/emeraldlake2/smihandler.c
index 03c505b816..03c505b816 100644
--- a/src/mainboard/intel/emeraldlake2/mainboard_smi.c
+++ b/src/mainboard/intel/emeraldlake2/smihandler.c
diff --git a/src/mainboard/iwave/iWRainbowG6/mainboard_smi.c b/src/mainboard/iwave/iWRainbowG6/smihandler.c
index fc4defb096..fc4defb096 100644
--- a/src/mainboard/iwave/iWRainbowG6/mainboard_smi.c
+++ b/src/mainboard/iwave/iWRainbowG6/smihandler.c
diff --git a/src/mainboard/kontron/986lcd-m/mainboard_smi.c b/src/mainboard/kontron/986lcd-m/smihandler.c
index 3e3bee7e6d..3e3bee7e6d 100644
--- a/src/mainboard/kontron/986lcd-m/mainboard_smi.c
+++ b/src/mainboard/kontron/986lcd-m/smihandler.c
diff --git a/src/mainboard/lenovo/t60/mainboard_smi.c b/src/mainboard/lenovo/t60/smihandler.c
index 6ea503776d..6ea503776d 100644
--- a/src/mainboard/lenovo/t60/mainboard_smi.c
+++ b/src/mainboard/lenovo/t60/smihandler.c
diff --git a/src/mainboard/lenovo/x60/mainboard_smi.c b/src/mainboard/lenovo/x60/smihandler.c
index c0d8440d47..c0d8440d47 100644
--- a/src/mainboard/lenovo/x60/mainboard_smi.c
+++ b/src/mainboard/lenovo/x60/smihandler.c
diff --git a/src/mainboard/rca/rm4100/mainboard_smi.c b/src/mainboard/rca/rm4100/smihandler.c
index 8cfefaebe3..8cfefaebe3 100644
--- a/src/mainboard/rca/rm4100/mainboard_smi.c
+++ b/src/mainboard/rca/rm4100/smihandler.c
diff --git a/src/mainboard/roda/rk886ex/mainboard_smi.c b/src/mainboard/roda/rk886ex/smihandler.c
index 6736ace09a..6736ace09a 100644
--- a/src/mainboard/roda/rk886ex/mainboard_smi.c
+++ b/src/mainboard/roda/rk886ex/smihandler.c
diff --git a/src/mainboard/roda/rk9/Makefile.inc b/src/mainboard/roda/rk9/Makefile.inc
index 9a2f0b17f5..1a6cb022a6 100644
--- a/src/mainboard/roda/rk9/Makefile.inc
+++ b/src/mainboard/roda/rk9/Makefile.inc
@@ -18,4 +18,3 @@
##
ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += ti_pci7xx1.c
-smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c
diff --git a/src/mainboard/roda/rk9/mainboard_smi.c b/src/mainboard/roda/rk9/smihandler.c
index 8a87cd993b..8a87cd993b 100644
--- a/src/mainboard/roda/rk9/mainboard_smi.c
+++ b/src/mainboard/roda/rk9/smihandler.c
diff --git a/src/mainboard/samsung/lumpy/mainboard_smi.c b/src/mainboard/samsung/lumpy/smihandler.c
index 4e73a57938..4e73a57938 100644
--- a/src/mainboard/samsung/lumpy/mainboard_smi.c
+++ b/src/mainboard/samsung/lumpy/smihandler.c
diff --git a/src/mainboard/samsung/stumpy/mainboard_smi.c b/src/mainboard/samsung/stumpy/smihandler.c
index 660bb31cd4..660bb31cd4 100644
--- a/src/mainboard/samsung/stumpy/mainboard_smi.c
+++ b/src/mainboard/samsung/stumpy/smihandler.c
diff --git a/src/mainboard/thomson/ip1000/mainboard_smi.c b/src/mainboard/thomson/ip1000/smihandler.c
index 8cfefaebe3..8cfefaebe3 100644
--- a/src/mainboard/thomson/ip1000/mainboard_smi.c
+++ b/src/mainboard/thomson/ip1000/smihandler.c