diff options
author | Josh Tsai <josh_tsai@compal.corp-partner.google.com> | 2019-12-11 05:23:51 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-13 04:18:46 +0000 |
commit | 4b0723c43c44d37eb3f5aff307a97cbdafdd28b5 (patch) | |
tree | 6adab5e8f7146ca456ca62c5d1198adb13a04669 /board/kohaku | |
parent | 8c3f625e104a9ae8fd44f42974f256690cf28f7f (diff) | |
download | chrome-ec-4b0723c43c44d37eb3f5aff307a97cbdafdd28b5.tar.gz |
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 <josh_tsai@compal.corp-partner.google.com>
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1950270
> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Bug: b:145257655
Change-Id: Ib2cb2db51b15f0974d2b22ef8e0e3e6d4e6b60d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1958299
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Commit-Queue: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Tested-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Diffstat (limited to 'board/kohaku')
-rw-r--r-- | board/kohaku/board.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/board/kohaku/board.h b/board/kohaku/board.h index 62e32d95d4..135ad10dbe 100644 --- a/board/kohaku/board.h +++ b/board/kohaku/board.h @@ -189,11 +189,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 */ |