boards: Convert stm32mp157c_dk2 to HWM v2

Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni
2024-02-07 14:57:02 +01:00
committed by Jamie McCrae
parent 0c8ba92e1f
commit bcdc268ccf
12 changed files with 10 additions and 14 deletions

View File

@@ -1,8 +0,0 @@
# STM32MP157C Discovery board configuration
# Copyright (c) 2019 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32MP157C_DK2
bool "STM32MP157C Discovery Development 2 Board"
depends on SOC_STM32MP15_M4

View File

@@ -5,9 +5,6 @@
if BOARD_STM32MP157C_DK2
config BOARD
default "stm32mp157c_dk2"
config SPI_STM32_INTERRUPT
default y
depends on SPI

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2019 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32MP157C_DK2
select SOC_STM32MP15_M4

View File

@@ -0,0 +1,5 @@
board:
name: stm32mp157c_dk2
vendor: st
socs:
- name: stm32mp157cxx

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -1,6 +1,3 @@
CONFIG_SOC_SERIES_STM32MP1X=y
CONFIG_SOC_STM32MP15_M4=y
# enable GPIO
CONFIG_GPIO=y