diff options
author | Josh Tsai <josh_tsai@compal.corp-partner.google.com> | 2019-12-05 11:05:18 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-06 19:58:09 +0000 |
commit | 89197aceaf26ccf33b143c7a5e95eb07ba4c7464 (patch) | |
tree | 73fd35ae26a6fe4aea7b406502a2e19bc4e1e921 /baseboard/hatch | |
parent | 9d206be4be6b723a84089ae9ddd4aff9291f17ed (diff) | |
download | chrome-ec-89197aceaf26ccf33b143c7a5e95eb07ba4c7464.tar.gz |
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>
Diffstat (limited to 'baseboard/hatch')
-rw-r--r-- | baseboard/hatch/baseboard.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/baseboard/hatch/baseboard.h b/baseboard/hatch/baseboard.h index ffe104c7bf..3c3096a86d 100644 --- a/baseboard/hatch/baseboard.h +++ b/baseboard/hatch/baseboard.h @@ -156,12 +156,6 @@ #define PD_POWER_SUPPLY_TURN_OFF_DELAY 250000 /* us */ #define PD_VCONN_SWAP_DELAY 5000 /* us */ -/* TODO(b/122273953): Use correct PD power values */ -#define PD_OPERATING_POWER_MW 15000 -#define PD_MAX_POWER_MW 60000 -#define PD_MAX_CURRENT_MA 3000 -#define PD_MAX_VOLTAGE_MV 20000 - /* I2C Bus Configuration */ #define CONFIG_I2C #define CONFIG_I2C_MASTER |