[RFC,v2,3/4] ARM: dts: stm32: Add dtb build information entry for stm32mp157c-dk2
diff mbox series

Message ID 20200221161418.20225-4-alexandre.torgue@st.com
State New
Headers show
  • Add device tree build information
Related show

Commit Message

Alexandre Torgue Feb. 21, 2020, 4:14 p.m. UTC
dtb-build.txt is a file containing device tree build information (date,
source version ...). This file is used to fill "build-info" entry which
will be displayed during kernel boot.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

diff mbox series

diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts
index 7985b80967ca..387d3bcf5fa3 100644
--- a/arch/arm/boot/dts/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts
@@ -15,6 +15,7 @@ 
 / {
 	model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
 	compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
+	build-info = /incbin/("dtb-build.txt");
 	aliases {
 		ethernet0 = &ethernet0;