diff options
-rw-r--r-- | board/redrix/battery.c | 2 | ||||
-rw-r--r-- | board/redrix/board.c | 9 | ||||
-rw-r--r-- | board/redrix/board.h | 2 | ||||
-rw-r--r-- | board/redrix/fans.c | 2 | ||||
-rw-r--r-- | board/redrix/fw_config.c | 1 | ||||
-rw-r--r-- | board/redrix/fw_config.h | 2 | ||||
-rw-r--r-- | board/redrix/i2c.c | 1 | ||||
-rw-r--r-- | board/redrix/led.c | 3 | ||||
-rw-r--r-- | board/redrix/pwm.c | 3 | ||||
-rw-r--r-- | board/redrix/tune_mp2964.c | 2 | ||||
-rw-r--r-- | board/redrix/usbc_config.c | 13 |
11 files changed, 33 insertions, 7 deletions
diff --git a/board/redrix/battery.c b/board/redrix/battery.c index 91ecfe0583..a18ab029b6 100644 --- a/board/redrix/battery.c +++ b/board/redrix/battery.c @@ -7,7 +7,7 @@ #include "battery_fuel_gauge.h" #include "common.h" -#include "util.h" +#include "compile_time_macros.h" /* * Battery info for all Brya battery types. Note that the fields diff --git a/board/redrix/board.c b/board/redrix/board.c index eaac2ad278..c5109945b1 100644 --- a/board/redrix/board.c +++ b/board/redrix/board.c @@ -3,13 +3,16 @@ * found in the LICENSE file. */ -#include "common.h" - #include "battery.h" #include "button.h" #include "charge_ramp.h" #include "charger.h" +#include "common.h" +#include "compile_time_macros.h" #include "console.h" +#include "gpio.h" +#include "gpio_signal.h" +#include "hooks.h" #include "driver/accel_lis2dw12.h" #include "driver/accelgyro_lsm6dso.h" #include "driver/als_tcs3400.h" @@ -18,9 +21,11 @@ #include "lid_switch.h" #include "power_button.h" #include "power.h" +#include "registers.h" #include "switch.h" #include "tablet_mode.h" #include "throttle_ap.h" +#include "usbc_config.h" #include "gpio_list.h" /* Must come after other header files. */ diff --git a/board/redrix/board.h b/board/redrix/board.h index 65737ec168..0a1e6d7d3c 100644 --- a/board/redrix/board.h +++ b/board/redrix/board.h @@ -8,6 +8,8 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +#include "compile_time_macros.h" + /* * Early brya boards are not set up for vivaldi */ diff --git a/board/redrix/fans.c b/board/redrix/fans.c index 1427499e79..d966056331 100644 --- a/board/redrix/fans.c +++ b/board/redrix/fans.c @@ -6,11 +6,11 @@ /* Physical fans. These are logically separate from pwm_channels. */ #include "common.h" +#include "compile_time_macros.h" #include "console.h" #include "fan_chip.h" #include "fan.h" #include "hooks.h" -#include "pwm_chip.h" #include "pwm.h" /* MFT channels. These are logically separate from pwm_channels. */ diff --git a/board/redrix/fw_config.c b/board/redrix/fw_config.c index 2d9ee6de25..fb8acb635d 100644 --- a/board/redrix/fw_config.c +++ b/board/redrix/fw_config.c @@ -4,6 +4,7 @@ */ #include "common.h" +#include "compile_time_macros.h" #include "console.h" #include "cros_board_info.h" #include "fw_config.h" diff --git a/board/redrix/fw_config.h b/board/redrix/fw_config.h index 31843e759e..6e4eb3ef58 100644 --- a/board/redrix/fw_config.h +++ b/board/redrix/fw_config.h @@ -6,7 +6,7 @@ #ifndef __BOARD_BRYA_FW_CONFIG_H_ #define __BOARD_BRYA_FW_CONFIG_H_ -#include "stdint.h" +#include <stdint.h> /**************************************************************************** * CBI FW_CONFIG layout for Brya board. diff --git a/board/redrix/i2c.c b/board/redrix/i2c.c index 02890a3a16..bb55b13d0c 100644 --- a/board/redrix/i2c.c +++ b/board/redrix/i2c.c @@ -4,6 +4,7 @@ */ #include "common.h" +#include "compile_time_macros.h" #include "i2c.h" diff --git a/board/redrix/led.c b/board/redrix/led.c index aa8da52778..38caa38d37 100644 --- a/board/redrix/led.c +++ b/board/redrix/led.c @@ -9,7 +9,10 @@ * amber while charging the battery and white when the battery is charged. */ +#include <stdint.h> + #include "common.h" +#include "compile_time_macros.h" #include "ec_commands.h" #include "led_pwm.h" #include "pwm.h" diff --git a/board/redrix/pwm.c b/board/redrix/pwm.c index a6b65b038c..263e494650 100644 --- a/board/redrix/pwm.c +++ b/board/redrix/pwm.c @@ -4,8 +4,9 @@ */ #include "common.h" -#include "hooks.h" +#include "compile_time_macros.h" +#include "hooks.h" #include "pwm.h" #include "pwm_chip.h" diff --git a/board/redrix/tune_mp2964.c b/board/redrix/tune_mp2964.c index c95f06d7fd..198f06d8eb 100644 --- a/board/redrix/tune_mp2964.c +++ b/board/redrix/tune_mp2964.c @@ -5,6 +5,8 @@ /* Tune the MP2964 IMVP9.1 parameters for brya */ +#include "common.h" +#include "compile_time_macros.h" #include "console.h" #include "hooks.h" #include "mp2964.h" diff --git a/board/redrix/usbc_config.c b/board/redrix/usbc_config.c index ddad81f7da..4c84b814aa 100644 --- a/board/redrix/usbc_config.c +++ b/board/redrix/usbc_config.c @@ -3,8 +3,12 @@ * found in the LICENSE file. */ -#include "common.h" +#include <stdint.h> +#include <stdbool.h> +#include "common.h" +#include "compile_time_macros.h" +#include "console.h" #include "driver/bc12/pi3usb9201_public.h" #include "driver/ppc/nx20p348x.h" #include "driver/ppc/syv682x_public.h" @@ -12,14 +16,21 @@ #include "driver/tcpm/nct38xx.h" #include "driver/tcpm/ps8xxx_public.h" #include "driver/tcpm/tcpci.h" +#include "ec_commands.h" #include "fw_config.h" +#include "gpio.h" +#include "gpio_signal.h" #include "hooks.h" #include "ioexpander.h" #include "system.h" +#include "task.h" +#include "task_id.h" #include "timer.h" #include "usbc_config.h" #include "usbc_ppc.h" +#include "usb_charge.h" #include "usb_mux.h" +#include "usb_pd.h" #include "usb_pd_tcpm.h" #define CPRINTF(format, args...) cprintf(CC_USBPD, format, ## args) |