Skip to contentSkip to conversation

dts: Add a comment about CONFIG_OF_EMBED being for local use

PATCH New Simon Glass 2 participants 3 messages Sep 1, 2015 – Sep 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dts: Add a comment about CONFIG_OF_EMBED being for local use

This comment from README.fdt-control did not end up in the Kconfig, which is what most people will see. Add it with a few tweaks.

---

 dts/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
dts/Kconfig +3 -1
index a04bb96..a66b9e3 100644
@@ -37,7 +37,9 @@ config OF_EMBED
 	bool "Embedded DTB for DT control"
 	help
 	  If this option is enabled, the device tree will be picked up and
-	  built into the U-Boot image.
+	  built into the U-Boot image. This is suitable for local debugging
+	  and development only and is not recommended for production devices.
+	  Boards in the mainline U-Boot tree should not use it.
 
 config OF_HOSTFILE
 	bool "Host filed DTB for DT control"
Signature · 1 line
2.5.0.457.gab17608
#1 lore raw

PATCH 1/1 dts: Add a comment about CONFIG_OF_EMBED being for local use

Quoted 15 lines · Simon Glass

This comment from README.fdt-control did not end up in the Kconfig, which is what most people will see. Add it with a few tweaks.

---

 dts/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
dts/Kconfig +0 -0
index a04bb96..a66b9e3 100644

dts/Kconfig config OF_EMBED · line 45

Quoted 10 lines
dts/Kconfig +3 -1
@@ -37,7 +37,9 @@ config OF_EMBED
 	bool "Embedded DTB for DT control"
 	help
 	  If this option is enabled, the device tree will be picked up and
-	  built into the U-Boot image.
+	  built into the U-Boot image. This is suitable for local debugging
+	  and development only and is not recommended for production devices.
+	  Boards in the mainline U-Boot tree should not use it.
 
 config OF_HOSTFILE
 	bool "Host filed DTB for DT control"

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150901/ac7c051e/attachment.sig>
#2 lore raw

PATCH 1/1 dts: Add a comment about CONFIG_OF_EMBED being for local use

Quoted 23 lines · Michal Simek
Quoted 22 lines · Simon Glass

This comment from README.fdt-control did not end up in the Kconfig, which is what most people will see. Add it with a few tweaks.

---

 dts/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
dts/Kconfig +3 -1
index a04bb96..a66b9e3 100644
@@ -37,7 +37,9 @@ config OF_EMBED
      bool "Embedded DTB for DT control"
      help
        If this option is enabled, the device tree will be picked up and
-       built into the U-Boot image.
+       built into the U-Boot image. This is suitable for local debugging
+       and development only and is not recommended for production devices.
+       Boards in the mainline U-Boot tree should not use it.
 
Quoted 5 lines

dts/Kconfig config OF_EMBED · line 45

Quoted 3 lines
dts/Kconfig +0 -0
 config OF_HOSTFILE
      bool "Host filed DTB for DT control"

I'd like to get this comment in for the current release.

Applied to u-boot-dm.