diff options
author | Diana Z <dzigterman@chromium.org> | 2020-08-17 11:49:49 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-21 18:27:22 +0000 |
commit | 906dea8f53aeca97488a73f5fcfc4d16106d7ea8 (patch) | |
tree | 167bb368837350f1b9aa792625af2a5ea8096ab5 /board/boten | |
parent | f832dc1f14ee2086d1903c5e38e927485eb067dc (diff) | |
download | chrome-ec-906dea8f53aeca97488a73f5fcfc4d16106d7ea8.tar.gz |
Dedede: Move PWM to board level
Move the PWM related defines and arrays into the board level, to allow
customization of what PWM channels boards use (if they choose to use the
PWM at all).
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Id417a7be079511c17de9f2e5d03c729467435804
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2358899
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/boten')
-rw-r--r-- | board/boten/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/boten/board.h b/board/boten/board.h index 1d4524f155..b2c5460248 100644 --- a/board/boten/board.h +++ b/board/boten/board.h @@ -33,6 +33,9 @@ #define CONFIG_LED_POWER_LED #define CONFIG_LED_ONOFF_STATES +/* PWM */ +#define CONFIG_PWM + /* Sensors */ #define CONFIG_ACCEL_LIS2DWL /* Lid accel */ #define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */ |