• S
    dtoc: Create a base class for Fdt · a06a34b2
    Simon Glass 提交于
    At present we have two separate implementations of the Fdt library, one which
    uses fdtget/fdtput and one which uses libfdt (via swig).
    
    Before adding more functionality it makes sense to create a base class for
    these. This will allow common functions to be shared, and make the Fdt API
    a little clearer.
    
    Create a new fdt.py file with the base class, and adjust fdt_normal.py and
    fdt_fallback.py to use it.
    Signed-off-by: NSimon Glass <sjg@chromium.org>
    a06a34b2
fdt.py 1.9 KB