diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-27 07:38:28 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-02 10:18:20 -0600 |
commit | 7b75b4482ddee4ea8248f1f64f2b0d1c752dd273 (patch) | |
tree | 6ee1770fea86b42eebf9e7be487bf28e202574e5 /tools/dtoc/fdt_select.py | |
parent | 515d3f08017d2f67fd2e400babadb2c192c5c055 (diff) |
fdt: Merge fdt_normal with its base class
Since we only have one Fdt implementation now we don't need to have a base
class. Merge the implementation and the base class together.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/fdt_select.py')
-rw-r--r-- | tools/dtoc/fdt_select.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/dtoc/fdt_select.py b/tools/dtoc/fdt_select.py index 54a3ef2e46e..d6337ea2277 100644 --- a/tools/dtoc/fdt_select.py +++ b/tools/dtoc/fdt_select.py @@ -6,13 +6,11 @@ # SPDX-License-Identifier: GPL-2.0+ # -# Bring in either the normal fdt library (which relies on libfdt) or the -# fallback one (which uses fdtget and is slower). Both provide the same -# interface for this file to use. -import fdt_normal +# Bring in the normal fdt library (which relies on libfdt) +import fdt def FdtScan(fname): """Returns a new Fdt object from the implementation we are using""" - dtb = fdt_normal.FdtNormal(fname) + dtb = fdt.Fdt(fname) dtb.Scan() return dtb |