From c75c73a8328f2f0e6b03206560af94877d47f62f Mon Sep 17 00:00:00 2001 From: Samsp_Liu Date: Mon, 10 Aug 2020 18:57:57 +0800 Subject: volteer: Support board-specific current Separate CONFIG_CHARGER_SENSE_RESISTOR and CONFIG_CHARGER_SENSE_RESISTOR_AC from volteer baseboard to each project board. To meet different configurations on each board. BUG=b:158257062 BRANCH=none TEST=make buildall Change-Id: Ib8290bd54d45054b82d7849e84119d419cbc8586 Signed-off-by: Samsp_Liu Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2346088 Tested-by: SamSP Liu Reviewed-by: Abe Levkoy Commit-Queue: SamSP Liu --- board/lingcod/board.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/lingcod/board.h') diff --git a/board/lingcod/board.h b/board/lingcod/board.h index 31e5e558bc..27d30365d9 100644 --- a/board/lingcod/board.h +++ b/board/lingcod/board.h @@ -79,6 +79,10 @@ /* Fan features */ +/* charger defines */ +#define CONFIG_CHARGER_SENSE_RESISTOR 10 +#define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 + /* * Macros for GPIO signals used in common code that don't match the * schematic names. Signal names in gpio.inc match the schematic and are -- cgit v1.2.1