ARM: stm32mp: dk2: barebox_set_model to shorter name
Subsystems (2)
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.
Signed-off-by Ahmad Fatoum <[email protected]>
--- arch/arm/boards/stm32mp157c-dk2/board.c | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boards/stm32mp157c-dk2/board.c +2 -0
@@ -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
Sascha Hauer
AppliedQuoted 7 lines · Ahmad Fatoum
The full "STMicroelectronics STM32MP157C-DK2 Discovery Board" is a tad too long. Abbreviate it to STM32MP157C-DK2 instead.
Signed-off-by Ahmad Fatoum <[email protected]>--- 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@@ -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