3 # Copyright (C) 2016 Google, Inc
4 # Written by Simon Glass <sjg@chromium.org>
6 # SPDX-License-Identifier: GPL-2.0+
9 # Bring in either the normal fdt library (which relies on libfdt) or the
10 # fallback one (which uses fdtget and is slower). Both provide the same
11 # interface for this file to use.
20 """Returns a new Fdt object from the implementation we are using"""
22 dtb = fdt_normal.FdtNormal(fname)
24 dtb = fdt_fallback.FdtFallback(fname)