From 302aeb7a4ee10897d42298726b85e2d0bb26e788 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 25 Aug 2015 11:26:33 -0600 Subject: 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 Original-Commit-Id: edd8c7a0666208b35ee81f57ec2626390958dfb7 Original-Change-Id: I2a92fd28347455c09ecf2119788ca9b6a97a11de Original-Signed-off-by: Martin Roth Original-Reviewed-on: https://chromium-review.googlesource.com/295143 Original-Reviewed-by: Duncan Laurie Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/11435 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/google/glados/mainboard.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainboard') 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(); } /* -- cgit v1.2.3