summaryrefslogtreecommitdiff
path: root/tools/dtoc/fdt_select.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-27 13:38:30 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-02 16:18:20 (GMT)
commit99ed4a2e979150879fb70aea71898709536375d3 (patch)
treecb32ed8b42fdd0b3e5547b2f6b93022eacf7d3ca /tools/dtoc/fdt_select.py
parentec3f378a31602a2193ba8735323b71a4e63401da (diff)
downloadu-boot-fsl-qoriq-99ed4a2e979150879fb70aea71898709536375d3.tar.xz
fdt: Drop fdt_select.py
This file was used to select between the normal and fallback libfdt implementations. Now that we only have one, it is not needed. Drop it and fix up all users. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/fdt_select.py')
-rw-r--r--tools/dtoc/fdt_select.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/dtoc/fdt_select.py b/tools/dtoc/fdt_select.py
deleted file mode 100644
index d6337ea..0000000
--- a/tools/dtoc/fdt_select.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (C) 2016 Google, Inc
-# Written by Simon Glass <sjg@chromium.org>
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
-
-# 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.Fdt(fname)
- dtb.Scan()
- return dtb