summaryrefslogtreecommitdiff
path: root/board/samus_pd/board.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-08-08 10:06:40 -0600
committerCommit Bot <commit-bot@chromium.org>2020-07-17 04:22:21 +0000
commitdfa217d52df1b5a968dca1244244fbfce1ab6826 (patch)
tree57276fca75c220778ac2062ddca21b0a3653c390 /board/samus_pd/board.h
parentefbe472ecb909934a8dc3bad551545de29d66329 (diff)
downloadchrome-ec-dfa217d52df1b5a968dca1244244fbfce1ab6826.tar.gz
usb: de-dup common code from old and new PD stack
We still need to pull out more common code between the two stacks, but this is scaffolding with a few examples. BRANCH=firmware-atlas-11827.B BUG=b:137493121 TEST=With other PD Policies patches, flash atlas and run faft_ec&pd Change-Id: Ibd9dda1e544e06f02aa3dde48ca7de1539700cfa Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1744655 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2296083 Tested-by: Dawid Niedźwiecki <dn@semihalf.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: Dossym Nurmukhanov <dossym@chromium.org>
Diffstat (limited to 'board/samus_pd/board.h')
-rw-r--r--board/samus_pd/board.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/samus_pd/board.h b/board/samus_pd/board.h
index 2efeb35d56..3686e3decf 100644
--- a/board/samus_pd/board.h
+++ b/board/samus_pd/board.h
@@ -144,9 +144,6 @@ enum pwm_channel {
/* Map current in milli-amps to PWM duty cycle percentage */
#define MA_TO_PWM(curr) (((curr) - PWM_0_MA) * 100 / (PWM_100_MA - PWM_0_MA))
-/* Get the last received battery level. */
-int board_get_battery_soc(void);
-
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BOARD_H */