summaryrefslogtreecommitdiff
path: root/baseboard/volteer/baseboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/volteer/baseboard.h')
-rw-r--r--baseboard/volteer/baseboard.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h
index 3b8e475fe5..d3c82f0651 100644
--- a/baseboard/volteer/baseboard.h
+++ b/baseboard/volteer/baseboard.h
@@ -107,7 +107,8 @@
#define CONFIG_CHARGE_MANAGER
#define CONFIG_CHARGER
#define CONFIG_CHARGER_DISCHARGE_ON_AC
-#define CONFIG_CHARGER_INPUT_CURRENT 512
+#define CONFIG_CHARGER_DEFAULT_CURRENT_LIMIT 512
+#define CONFIG_CHARGER_MIN_INPUT_CURRENT_LIMIT 512
/*
* Hardware based charge ramp is broken in the ISL9241 (b/169350714).
@@ -243,10 +244,10 @@
#ifndef __ASSEMBLER__
-#include "gpio_signal.h"
-#include "common.h"
#include "baseboard_usbc_config.h"
#include "cbi.h"
+#include "common.h"
+#include "gpio_signal.h"
enum adc_channel {
ADC_TEMP_SENSOR_1_CHARGER,