From ce90e24d252a21888194f463088c79172b5b16b5 Mon Sep 17 00:00:00 2001 From: Vincent Wan Date: Wed, 8 Jan 2020 17:17:25 -0800 Subject: [PATCH] kconfig: deprecate TI cc2650_sensortag and cc2650 SoC Adding Kconfig settings to warn anyone trying to build for this platform of its pending deprecation in 2.2.0. Signed-off-by: Vincent Wan --- boards/arm/cc2650_sensortag/Kconfig.defconfig | 3 +++ soc/arm/ti_simplelink/cc2650/Kconfig.soc | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/boards/arm/cc2650_sensortag/Kconfig.defconfig b/boards/arm/cc2650_sensortag/Kconfig.defconfig index 5e2019c43b2..9d76b63ada3 100644 --- a/boards/arm/cc2650_sensortag/Kconfig.defconfig +++ b/boards/arm/cc2650_sensortag/Kconfig.defconfig @@ -7,4 +7,7 @@ if BOARD_CC2650_SENSORTAG config BOARD default "cc2650_sensortag" +config BOARD_DEPRECATED_RELEASE + default "2.2.0" + endif # BOARD_CC2650_SENSORTAG diff --git a/soc/arm/ti_simplelink/cc2650/Kconfig.soc b/soc/arm/ti_simplelink/cc2650/Kconfig.soc index bee09610a50..21e1c2e85fc 100644 --- a/soc/arm/ti_simplelink/cc2650/Kconfig.soc +++ b/soc/arm/ti_simplelink/cc2650/Kconfig.soc @@ -17,4 +17,10 @@ config TI_CCFG_PRESENT bool default y +config SOC + default "cc2650" + +config SOC_DEPRECATED_RELEASE + default "2.2.0" + endif # SOC_SERIES_CC2650