arch: arm: stm32: factorize stm32f417xy socs defconfig files

stm32f417xe and stm32f417xg have been introduced with 2
different defconfig files. Since same code is declared
in both files, mutualize declarations in a single file.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2017-09-08 11:29:19 +02:00 committed by Anas Nashif
commit 1ded7d7b33
2 changed files with 3 additions and 22 deletions

View file

@ -1,18 +0,0 @@
# Kconfig - ST STM32F417XG MCU configuration options
#
# Copyright (c) 2016 Linaro Limited.
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32F417XG
config SOC
string
default stm32f417xx
config NUM_IRQS
int
default 82
endif # SOC_STM32F417XG

View file

@ -1,11 +1,11 @@
# Kconfig - ST STM32F417XE MCU configuration options # Kconfig - ST STM32F417XX MCU configuration options
# #
# Copyright (c) 2016 Linaro Limited. # Copyright (c) 2016 Linaro Limited.
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
if SOC_STM32F417XE if SOC_STM32F417XE || SOC_STM32F417XG
config SOC config SOC
string string
@ -15,5 +15,4 @@ config NUM_IRQS
int int
default 82 default 82
endif # SOC_STM32F417XE endif # SOC_STM32F417XE || SOC_STM32F417XG