summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/stm32mp157c-dk2/board.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-10-05 10:10:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-07 10:07:51 +0200
commit751a9120dabc8c23a0a2230a0122eaadb1d942a1 (patch)
treec914801ca81c3a6bd1bd5a97f7e03637b83bbc71 /arch/arm/boards/stm32mp157c-dk2/board.c
parenta03af1e0b38bca202325f57b19f9a95cbbb7c4c5 (diff)
downloadbarebox-751a9120dabc8c23a0a2230a0122eaadb1d942a1.tar.gz
barebox-751a9120dabc8c23a0a2230a0122eaadb1d942a1.tar.xz
ARM: stm32mp: dk2: rename to dkx to make dk1 support clearer
As we now support both the stm32mp157a-dk1 and stm32mp157c-dk2 with the same barebox image, we should call the board stm32mp15xx-dkx instead. That's also how the upstream DTSI is named. Suggested-by: Holger Assmann <has@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/stm32mp157c-dk2/board.c')
-rw-r--r--arch/arm/boards/stm32mp157c-dk2/board.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/boards/stm32mp157c-dk2/board.c b/arch/arm/boards/stm32mp157c-dk2/board.c
deleted file mode 100644
index a547209cdf..0000000000
--- a/arch/arm/boards/stm32mp157c-dk2/board.c
+++ /dev/null
@@ -1,26 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-#include <common.h>
-#include <init.h>
-#include <mach/bbu.h>
-
-static int dkx_probe(struct device_d *dev)
-{
- stm32mp_bbu_mmc_register_handler("sd", "/dev/mmc0.ssbl",
- BBU_HANDLER_FLAG_DEFAULT);
-
- barebox_set_model("STM32MP157C-DK2");
-
- return 0;
-}
-
-static const struct of_device_id dkx_of_match[] = {
- { .compatible = "st,stm32mp157c-dk2" },
- { /* sentinel */ },
-};
-
-static struct driver_d dkx_board_driver = {
- .name = "board-stm32mp15xx-dkx",
- .probe = dkx_probe,
- .of_compatible = dkx_of_match,
-};
-postcore_platform_driver(dkx_board_driver);