[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 7/7] hw/net/can: Correct Kconfig dependencies after switch to
From: |
Pavel Pisa |
Subject: |
[PATCH v2 7/7] hw/net/can: Correct Kconfig dependencies after switch to meson build. |
Date: |
Thu, 3 Sep 2020 23:48:23 +0200 |
The original CAN_PCI config option enables multiple SJA1000 PCI boards
emulation build. These boards bridge SJA1000 into I/O or memory
address space of the host CPU and depend on SJA1000 emulation.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
---
hw/net/Kconfig | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hw/net/Kconfig b/hw/net/Kconfig
index 225d948841..6d795ec752 100644
--- a/hw/net/Kconfig
+++ b/hw/net/Kconfig
@@ -132,16 +132,15 @@ config ROCKER
config CAN_BUS
bool
-config CAN_PCI
+config CAN_SJA1000
bool
default y if PCI_DEVICES
- depends on PCI
select CAN_BUS
-config CAN_SJA1000
+config CAN_PCI
bool
default y if PCI_DEVICES
- depends on PCI
+ depends on PCI && CAN_SJA1000
select CAN_BUS
config CAN_CTUCANFD
--
2.20.1
- [PATCH v2 0/7] CTU CAN FD core support, pisa, 2020/09/03
- [PATCH v2 1/7] net/can: Initial host SocketCan support for CAN FD., Pavel Pisa, 2020/09/03
- [PATCH v2 2/7] hw/net/can: sja1000 ignore CAN FD frames, Pavel Pisa, 2020/09/03
- [PATCH v2 3/7] net/can: Add can_dlc2len and can_len2dlc for CAN FD., Pavel Pisa, 2020/09/03
- [PATCH v2 4/7] hw/net/can/ctucafd: Add CTU CAN FD core register definitions., Pavel Pisa, 2020/09/03
- [PATCH v2 5/7] hw/net/can: CTU CAN FD IP open hardware core emulation., Pavel Pisa, 2020/09/03
- [PATCH v2 6/7] hw/net/can: Documentation for CTU CAN FD IP open hardware core emulation., Pavel Pisa, 2020/09/03
- [PATCH v2 7/7] hw/net/can: Correct Kconfig dependencies after switch to meson build.,
Pavel Pisa <=
Re: [PATCH v2 0/7] CTU CAN FD core support - patchew problem, Pavel Pisa, 2020/09/04