summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2015-08-25 11:26:33 -0600
committerPatrick Georgi <pgeorgi@google.com>2015-08-29 07:34:50 +0000
commit302aeb7a4ee10897d42298726b85e2d0bb26e788 (patch)
treedbd33fb8090330331e9cbea7af295349d7722737 /src
parentc8dd59df9138dc2b4770865c76025bbdf76304ad (diff)
downloadcoreboot-302aeb7a4ee10897d42298726b85e2d0bb26e788.tar.xz
google/glados: Remove unnecessary check for mainboard_ec_init()
mainboard_ec_init() wasn't getting run due to an invalid Kconfig symbol. This check isn't required as the Kconfig option for the EC is forced to be enabled, and the function should always be run. BRANCH=none BUG=none TEST=Rebuilt glados mainboard. Change-Id: I2c4a33d80533a19b02b83b3aaa6a3386e927f1c7 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Original-Commit-Id: edd8c7a0666208b35ee81f57ec2626390958dfb7 Original-Change-Id: I2a92fd28347455c09ecf2119788ca9b6a97a11de Original-Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/295143 Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11435 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/glados/mainboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/glados/mainboard.c b/src/mainboard/google/glados/mainboard.c
index 5e48f1708c..ac4a2adc3d 100644
--- a/src/mainboard/google/glados/mainboard.c
+++ b/src/mainboard/google/glados/mainboard.c
@@ -25,8 +25,7 @@
static void mainboard_init(device_t dev)
{
- if (IS_ENABLED(CONFIG_GOOGLE_CHROME_EC))
- mainboard_ec_init();
+ mainboard_ec_init();
}
/*