[PATCH] ARM: stm32mp: dk2: barebox_set_model to shorter name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
---
 arch/arm/boards/stm32mp157c-dk2/board.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boards/stm32mp157c-dk2/board.c b/arch/arm/boards/stm32mp157c-dk2/board.c
index 9cd5b4ee1ff4..6da99d9353ac 100644
--- a/arch/arm/boards/stm32mp157c-dk2/board.c
+++ b/arch/arm/boards/stm32mp157c-dk2/board.c
@@ -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);
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux