summaryrefslogtreecommitdiff
path: root/board/drawcia
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2022-02-11 15:46:24 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-25 21:08:43 +0000
commite420fea291a6fed8c5d5a237e1f07cbece74a57d (patch)
tree0a0f7128343d73f550966f5a4cb3b1f0fc184525 /board/drawcia
parentd197a82baaa0a637531d68774f8f11bd20407b60 (diff)
downloadchrome-ec-e420fea291a6fed8c5d5a237e1f07cbece74a57d.tar.gz
gpio: cleanup header usage for chipset task
chipset.h only requires the enum gpio_signal, so use gpio_signal.h instead of gpio.h. The build doesn't compare due to an ASSERT() call in throttle_ap.c after the number of lines increased by 1. From prochot_input_deferred() before the change: 1009b592: 2158 movs r1, #88 ; 0x58 1009b594: f7fd ff76 bl 10099484 <panic_assert_fail> After the change 1009b592: 2159 movs r1, #89 ; 0x59 1009b594: f7fd ff76 bl 10099484 <panic_assert_fail> BUG=b:218856245 BRANCH=none TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I30dcdec6985d51279512c25889f03b5f9b1955e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3489093 Reviewed-by: Tristan Honscheid <honscheid@google.com>
Diffstat (limited to 'board/drawcia')
-rw-r--r--board/drawcia/led.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/drawcia/led.c b/board/drawcia/led.c
index 42518c71fc..ed22fc29ba 100644
--- a/board/drawcia/led.c
+++ b/board/drawcia/led.c
@@ -8,6 +8,7 @@
#include "cbi_fw_config.h"
#include "charge_state.h"
#include "extpower.h"
+#include "gpio.h"
#include "hooks.h"
#include "led_common.h"