[U-Boot] [PATCH 07/30] dtoc: Rename fdt.py to fdt_normal.py

Simon Glass sjg at chromium.org
Tue Jul 26 02:59:03 CEST 2016


In preparation for creating an Fdt base class, rename this file to indicate
it is the normal Fdt implementation.

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

 tools/dtoc/{fdt.py => fdt_normal.py} | 0
 tools/dtoc/fdt_select.py             | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tools/dtoc/{fdt.py => fdt_normal.py} (100%)

diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt_normal.py
similarity index 100%
rename from tools/dtoc/fdt.py
rename to tools/dtoc/fdt_normal.py
diff --git a/tools/dtoc/fdt_select.py b/tools/dtoc/fdt_select.py
index 5aff297..681dfbf 100644
--- a/tools/dtoc/fdt_select.py
+++ b/tools/dtoc/fdt_select.py
@@ -10,7 +10,7 @@
 # fallback one (which uses fdtget and is slower). Both provide the same
 # interface for this file to use.
 try:
-    import fdt
+    import fdt_normal as fdt
     have_libfdt = True
 except ImportError:
     have_libfdt = False
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list