drivers: can: Timestamps depend on driver select

Instead of explicity ORing together the compatible drivers,
CAN_RX_TIMESTAMP now depends on CAN_HAS_RX_TIMESTAMP
which is selected by the drivers primary Kconfig option. In addition,
stm32fd does not need to select this option since it selected by
the underlying M_CAN driver.

Signed-off-by: Abram Early <abram.early@gmail.com>
This commit is contained in:
Abram Early 2021-06-24 16:11:29 -06:00 committed by Anas Nashif
commit bd09d4ff3f
4 changed files with 9 additions and 1 deletions

View file

@ -6,6 +6,7 @@
config CAN_MCAN
bool
select CAN_HAS_CANFD
select CAN_HAS_RX_TIMESTAMP
help
Enable Bosch m_can driver.
This driver supports the Bosch m_can IP. This IP is built into the