All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] ARM: stm32: Permit multiple board targets
@ 2020-01-10  0:28 Marek Vasut
  2020-01-10  0:28 ` [PATCH 2/5] ARM: stm32: Allow overriding setup_mac_address() Marek Vasut
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Marek Vasut @ 2020-01-10  0:28 UTC (permalink / raw)
  To: u-boot

Setting TARGET_STM32MP1 in Kconfig always forces SYS_BOARD, SYS_VENDOR
and SYS_CONFIG_NAME to values set by the ST reference platforms. Allow
changing that by pulling out the TARGET_STM32MP157C_DK2 and making the
ST reference platform settings conditional on TARGET_STM32MP157C_DK2 .
Other platforms can now define a different TARGET_ and thus override
the SYS_ settings in their Kconfig.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
---
 board/st/stm32mp1/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/board/st/stm32mp1/Kconfig b/board/st/stm32mp1/Kconfig
index 4fa2360b4f..c84aa41f06 100644
--- a/board/st/stm32mp1/Kconfig
+++ b/board/st/stm32mp1/Kconfig
@@ -1,4 +1,8 @@
-if TARGET_STM32MP1
+config TARGET_STM32MP157C_DK2
+	bool "support of STMicroelectronics STM32MP157C-DK2 Discovery Board"
+	default y
+
+if TARGET_STM32MP157C_DK2
 
 config SYS_BOARD
 	default "stm32mp1"
@@ -22,8 +26,4 @@ config CMD_STBOARD
 	  This compile the stboard command to
 	  read and write the board in the OTP.
 
-config TARGET_STM32MP157C_DK2
-	bool "support of STMicroelectronics STM32MP157C-DK2 Discovery Board"
-	default y
-
 endif
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2020-01-20 20:21 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10  0:28 [PATCH 1/5] ARM: stm32: Permit multiple board targets Marek Vasut
2020-01-10  0:28 ` [PATCH 2/5] ARM: stm32: Allow overriding setup_mac_address() Marek Vasut
2020-01-10  0:28 ` [PATCH 3/5] ARM: stm32: Fill in missing loadaddr Marek Vasut
2020-01-13  9:06   ` Patrick DELAUNAY
2020-01-15  9:51     ` Marek Vasut
2020-01-17 15:19       ` Patrick DELAUNAY
2020-01-10  0:28 ` [PATCH 4/5] ARM: dts: stm32: Add missing ETHCK clock to ethernet node Marek Vasut
2020-01-13 12:50   ` Patrice CHOTARD
2020-01-13 13:15     ` Marek Vasut
2020-01-13 13:26   ` Patrick DELAUNAY
2020-01-13 13:33     ` Marek Vasut
2020-01-13 16:14       ` Christophe ROULLIER
2020-01-13 17:30         ` Marek Vasut
2020-01-14  7:20           ` Christophe ROULLIER
2020-01-14 14:36             ` Marek Vasut
2020-01-14 15:28               ` Christophe ROULLIER
2020-01-17 15:29         ` Patrick DELAUNAY
2020-01-10  0:28 ` [PATCH 5/5] ARM: dts: stm32: Add DH Electronics DHCOM SoM and PDK2 board Marek Vasut
2020-01-13 14:04   ` Patrick DELAUNAY
2020-01-17 16:32     ` Patrick DELAUNAY
2020-01-20 20:21       ` Marek Vasut
2020-01-13 10:58 ` [PATCH 1/5] ARM: stm32: Permit multiple board targets Patrick DELAUNAY
2020-01-13 11:08   ` Marek Vasut
2020-01-13 15:07     ` Patrick DELAUNAY
2020-01-15 10:00       ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.