From 4b0723c43c44d37eb3f5aff307a97cbdafdd28b5 Mon Sep 17 00:00:00 2001 From: Josh Tsai Date: Wed, 11 Dec 2019 05:23:51 +0000 Subject: Revert "hatch: refactor PD_MAX_VOLTAGE/PD_MAX_CURRENT/PD_MAX_POWER/PD_OPERATING_POWER/" This reverts commit 89197aceaf26ccf33b143c7a5e95eb07ba4c7464. Reason for revert: It is not necessary to change the PD setting, so revert it. Original change's description: > hatch: refactor PD_MAX_VOLTAGE/PD_MAX_CURRENT/PD_MAX_POWER/PD_OPERATING_POWER/ > > 1) The four config is determined by board, move it into board.h. > 2) Update the config variables above for stryke. > > BUG=b:145257655 > BRANCH=hatch > TEST=make buildall > > Change-Id: I1dd6a4f2a78b5196006821bc5d2686f68206c2e1 > Signed-off-by: Josh Tsai > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1950270 > Reviewed-by: Paul Fagerburg Bug: b:145257655 Change-Id: Ib2cb2db51b15f0974d2b22ef8e0e3e6d4e6b60d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1958299 Reviewed-by: Paul Fagerburg Reviewed-by: Josh Tsai Commit-Queue: Josh Tsai Tested-by: Josh Tsai --- board/akemi/board.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'board/akemi') diff --git a/board/akemi/board.h b/board/akemi/board.h index 389112da51..4dbcb1aaa7 100644 --- a/board/akemi/board.h +++ b/board/akemi/board.h @@ -157,11 +157,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -#define PD_OPERATING_POWER_MW 15000 -#define PD_MAX_POWER_MW 60000 -#define PD_MAX_CURRENT_MA 3000 -#define PD_MAX_VOLTAGE_MV 20000 - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ -- cgit v1.2.1