[U-Boot] [PATCH 05/11] dtoc: Don't handle properties with / in them

Simon Glass sjg at chromium.org
Mon Jun 19 04:09:00 UTC 2017


This conversion appears to not be needed as it does not occur in practice.
Drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/dtb_platdata.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py
index 75adf48dea..d86651b9aa 100644
--- a/tools/dtoc/dtb_platdata.py
+++ b/tools/dtoc/dtb_platdata.py
@@ -55,7 +55,6 @@ def conv_name_to_c(name):
     new = new.replace('-', '_')
     new = new.replace(',', '_')
     new = new.replace('.', '_')
-    new = new.replace('/', '__')
     return new
 
 def tab_to(num_tabs, line):
-- 
2.13.1.518.g3df882009-goog



More information about the U-Boot mailing list