Skip to contentSkip to conversation

ARM: stm32mp: dk2: barebox_set_model to shorter name

PATCH Applied Ahmad Fatoum 2 participants 2 messages Feb 10, 2020 – Feb 12, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: stm32mp: dk2: barebox_set_model to shorter name

The full "STMicroelectronics STM32MP157C-DK2 Discovery Board" is a tad too long. Abbreviate it to STM32MP157C-DK2 instead.

---
 arch/arm/boards/stm32mp157c-dk2/board.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boards/stm32mp157c-dk2/board.c +2 -0
index 9cd5b4ee1ff4..6da99d9353ac 100644
@@ -14,6 +14,8 @@ static int dk2_postcore_init(void)
 	stm32mp_bbu_mmc_register_handler("sd", "/dev/mmc0.ssbl",
 					 BBU_HANDLER_FLAG_DEFAULT);
 
+	barebox_set_model("STM32MP157C-DK2");
+
 	return 0;
 }
 postcore_initcall(dk2_postcore_init);
Signature · 7 lines
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 7 lines · Ahmad Fatoum

The full "STMicroelectronics STM32MP157C-DK2 Discovery Board" is a tad too long. Abbreviate it to STM32MP157C-DK2 instead.

---
 arch/arm/boards/stm32mp157c-dk2/board.c | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks

Sascha

Quoted 23 lines
arch/arm/boards/stm32mp157c-dk2/board.c +2 -0
index 9cd5b4ee1ff4..6da99d9353ac 100644
@@ -14,6 +14,8 @@ static int dk2_postcore_init(void)
 	stm32mp_bbu_mmc_register_handler("sd", "/dev/mmc0.ssbl",
 					 BBU_HANDLER_FLAG_DEFAULT);
 
+	barebox_set_model("STM32MP157C-DK2");
+
 	return 0;
 }
 postcore_initcall(dk2_postcore_init);
Signature · 7 lines
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox