diff options
-rw-r--r-- | board/coachz/board.c | 1 | ||||
-rw-r--r-- | board/coachz/board.h | 4 | ||||
-rw-r--r-- | board/homestar/board.c | 1 | ||||
-rw-r--r-- | board/homestar/board.h | 4 | ||||
-rw-r--r-- | board/lazor/board.c | 1 | ||||
-rw-r--r-- | board/lazor/board.h | 4 | ||||
-rw-r--r-- | board/pompom/board.c | 1 | ||||
-rw-r--r-- | board/pompom/board.h | 4 | ||||
-rw-r--r-- | board/trogdor/board.c | 1 | ||||
-rw-r--r-- | board/trogdor/board.h | 4 | ||||
-rw-r--r-- | include/power/sc7180.h | 5 |
11 files changed, 10 insertions, 20 deletions
diff --git a/board/coachz/board.c b/board/coachz/board.c index a6673b401b..d927afd8b1 100644 --- a/board/coachz/board.c +++ b/board/coachz/board.c @@ -24,6 +24,7 @@ #include "peripheral_charger.h" #include "pi3usb9201.h" #include "power.h" +#include "power/sc7180.h" #include "power_button.h" #include "pwm.h" #include "pwm_chip.h" diff --git a/board/coachz/board.h b/board/coachz/board.h index 388f773e37..1eb0aa7601 100644 --- a/board/coachz/board.h +++ b/board/coachz/board.h @@ -107,10 +107,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -/* Swithcap functions */ -void board_set_switchcap_power(int enable); -int board_is_switchcap_enabled(void); -int board_is_switchcap_power_good(void); /* Custom function to indicate if sourcing VBUS */ int board_is_sourcing_vbus(int port); /* Enable VBUS sink for a given port */ diff --git a/board/homestar/board.c b/board/homestar/board.c index 08c980b68e..1afb735bbc 100644 --- a/board/homestar/board.c +++ b/board/homestar/board.c @@ -24,6 +24,7 @@ #include "peripheral_charger.h" #include "pi3usb9201.h" #include "power.h" +#include "power/sc7180.h" #include "power_button.h" #include "pwm.h" #include "pwm_chip.h" diff --git a/board/homestar/board.h b/board/homestar/board.h index f6d8bc1215..f1a2ffb49c 100644 --- a/board/homestar/board.h +++ b/board/homestar/board.h @@ -101,10 +101,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -/* Swithcap functions */ -void board_set_switchcap_power(int enable); -int board_is_switchcap_enabled(void); -int board_is_switchcap_power_good(void); /* Custom function to indicate if sourcing VBUS */ int board_is_sourcing_vbus(int port); /* Enable VBUS sink for a given port */ diff --git a/board/lazor/board.c b/board/lazor/board.c index e31c88dcc1..1886779009 100644 --- a/board/lazor/board.c +++ b/board/lazor/board.c @@ -27,6 +27,7 @@ #include "ln9310.h" #include "pi3usb9201.h" #include "power.h" +#include "power/sc7180.h" #include "power_button.h" #include "pwm.h" #include "pwm_chip.h" diff --git a/board/lazor/board.h b/board/lazor/board.h index 46e9c7b7dd..a6498671ee 100644 --- a/board/lazor/board.h +++ b/board/lazor/board.h @@ -121,10 +121,6 @@ enum battery_cell_type { BATTERY_CELL_TYPE_3S = 3 }; -/* Swithcap functions */ -void board_set_switchcap_power(int enable); -int board_is_switchcap_enabled(void); -int board_is_switchcap_power_good(void); enum battery_cell_type board_get_battery_cell_type(void); /* Custom function to indicate if sourcing VBUS */ int board_is_sourcing_vbus(int port); diff --git a/board/pompom/board.c b/board/pompom/board.c index b3def9444e..698980c53b 100644 --- a/board/pompom/board.c +++ b/board/pompom/board.c @@ -21,6 +21,7 @@ #include "lid_switch.h" #include "pi3usb9201.h" #include "power.h" +#include "power/sc7180.h" #include "power_button.h" #include "pwm.h" #include "pwm_chip.h" diff --git a/board/pompom/board.h b/board/pompom/board.h index a1e648cffa..81457fc5af 100644 --- a/board/pompom/board.h +++ b/board/pompom/board.h @@ -97,10 +97,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -/* Swithcap functions */ -void board_set_switchcap_power(int enable); -int board_is_switchcap_enabled(void); -int board_is_switchcap_power_good(void); /* Custom function to indicate if sourcing VBUS */ int board_is_sourcing_vbus(int port); /* Enable VBUS sink for a given port */ diff --git a/board/trogdor/board.c b/board/trogdor/board.c index b2cbeb2a79..55e36da256 100644 --- a/board/trogdor/board.c +++ b/board/trogdor/board.c @@ -24,6 +24,7 @@ #include "pi3usb9281.h" #endif /* BOARD_REV */ #include "power.h" +#include "power/sc7180.h" #include "power_button.h" #include "pwm.h" #include "pwm_chip.h" diff --git a/board/trogdor/board.h b/board/trogdor/board.h index 96f0e5ceb2..636b3dfead 100644 --- a/board/trogdor/board.h +++ b/board/trogdor/board.h @@ -81,10 +81,6 @@ enum pwm_channel { PWM_CH_COUNT }; -/* Swithcap functions */ -void board_set_switchcap_power(int enable); -int board_is_switchcap_enabled(void); -int board_is_switchcap_power_good(void); /* Custom function to indicate if sourcing VBUS */ int board_is_sourcing_vbus(int port); /* Enable VBUS sink for a given port */ diff --git a/include/power/sc7180.h b/include/power/sc7180.h index 4b61fe539c..af066ea714 100644 --- a/include/power/sc7180.h +++ b/include/power/sc7180.h @@ -18,4 +18,9 @@ enum power_signal { }; #endif +/* Swithcap functions */ +void board_set_switchcap_power(int enable); +int board_is_switchcap_enabled(void); +int board_is_switchcap_power_good(void); + #endif /* __CROS_EC_POWER_SC7180_H_ */ |