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/wheelie | |
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/wheelie')
-rw-r--r-- | board/wheelie/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/wheelie/board.h b/board/wheelie/board.h index a4509bb625..7c680545c0 100644 --- a/board/wheelie/board.h +++ b/board/wheelie/board.h @@ -33,6 +33,9 @@ #define CONFIG_LED_PWM #define CONFIG_LED_PWM_COUNT 1 +/* PWM */ +#define CONFIG_PWM + /* Sensors */ #define CONFIG_ACCEL_LIS2DE /* Lid accel */ #define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */ |