summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rk9
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-11-09 13:44:36 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2015-05-26 10:32:34 +0200
commit61bb37e2054549b96986c5142aaa680ac311e4bf (patch)
treeab76d967cc80aad7598bed0c96f88c76ff1effbe /src/mainboard/roda/rk9
parent83f81cad7a1faf40dd894924963fc8bfc5904aea (diff)
downloadcoreboot-61bb37e2054549b96986c5142aaa680ac311e4bf.tar.xz
gm45: Link cstates.c rather than including it.
The comment about necessity of include isn't true anymore as get_cst_entries is not weak anymore so if it's not found, the linking would fail. Change-Id: I4bf88208d63ac3e625f464c3907e2e1ea575dd9f Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7375 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/roda/rk9')
-rw-r--r--src/mainboard/roda/rk9/Makefile.inc2
-rw-r--r--src/mainboard/roda/rk9/mainboard.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/roda/rk9/Makefile.inc b/src/mainboard/roda/rk9/Makefile.inc
index 21bedea8dc..d6838b7b4b 100644
--- a/src/mainboard/roda/rk9/Makefile.inc
+++ b/src/mainboard/roda/rk9/Makefile.inc
@@ -18,3 +18,5 @@
##
ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += ti_pci7xx1.c
+ramstage-y += cstates.c
+
diff --git a/src/mainboard/roda/rk9/mainboard.c b/src/mainboard/roda/rk9/mainboard.c
index 9d31dc3342..d0d9b55e92 100644
--- a/src/mainboard/roda/rk9/mainboard.c
+++ b/src/mainboard/roda/rk9/mainboard.c
@@ -26,9 +26,6 @@
#include <pc80/keyboard.h>
#include <ec/acpi/ec.h>
-#include "cstates.c" /* Include it, as the linker won't find
- the overloaded weak function in there. */
-
static void ec_setup(void)
{
/* Thermal limits? Values are from ectool's ram dump. */