From 906dea8f53aeca97488a73f5fcfc4d16106d7ea8 Mon Sep 17 00:00:00 2001 From: Diana Z Date: Mon, 17 Aug 2020 11:49:49 -0600 Subject: 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 Change-Id: Id417a7be079511c17de9f2e5d03c729467435804 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2358899 Commit-Queue: Aseda Aboagye Reviewed-by: Aseda Aboagye --- board/waddledee/board.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/waddledee') diff --git a/board/waddledee/board.h b/board/waddledee/board.h index c45385d9ff..d43ce1d44b 100644 --- a/board/waddledee/board.h +++ b/board/waddledee/board.h @@ -36,6 +36,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 */ -- cgit v1.2.1