drivers: cc2520: Add a new IP stack ready adaptation of CC2520 driver
It's basically a copy/paste of original driver,
using native IP stack API.
This is meant to avoid cluttering the original driver
code with #ifdef, and in future it will help removing
the old driver as well.
Change-Id: I67d974ad7440d258583a5c7c6c7160e99210808c
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
diff --git a/drivers/Kconfig b/drivers/Kconfig
index 0b1a723..9002545 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -21,6 +21,11 @@
source "drivers/bluetooth/Kconfig"
+config IEEE802154
+ bool
+ default n
+ default y if NETWORKING_WITH_15_4 || NET_L2_IEEE802154
+
source "drivers/ieee802154/Kconfig"
source "drivers/console/Kconfig"