stm32: rename CONFIG_SOC_STM32 -> CONFIG_SOC_FAMILY_STM32

Use CONFIG_SOC_FAMILY for the top level SoC family. A family
will have different SoCs or different SoC series with multiple
SoCs.
Adding the Family string to the config variable to avoid confusion
between actual SoCs and families and to prevent name collisions.

Change-Id: Ic99a2c1df7850dee3a45641027af82464dd6fadb
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-04-02 22:29:40 -04:00 committed by Anas Nashif
commit 9bf2da7ef4
12 changed files with 15 additions and 15 deletions

View file

@ -15,11 +15,11 @@
# limitations under the License.
#
if SOC_STM32
if SOC_FAMILY_STM32
config EXTI_STM32
bool "External Interrupt/Event Controller (EXTI) Driver for STM32 family of MCUs"
default y if SOC_STM32
default y if SOC_FAMILY_STM32
help
Enable EXTI driver for STM32 line of MCUs
@ -72,4 +72,4 @@ config EXTI_STM32_EXTI15_10_IRQ_PRI
help
IRQ priority of EXTI15:10 interrupt
endif # SOC_STM32
endif # SOC_FAMILY_STM32

View file

@ -8,4 +8,4 @@ obj-$(CONFIG_LOAPIC_SPURIOUS_VECTOR) += loapic_spurious.o
obj-$(CONFIG_ARCV2_INTERRUPT_UNIT) += arcv2_irq_unit.o
obj-$(CONFIG_SOC_STM32) += exti_stm32.o
obj-$(CONFIG_SOC_FAMILY_STM32) += exti_stm32.o