Adding upstream version 1:10.0.2+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
bf2768bd0f
commit
ea34ddeea6
37998 changed files with 9510514 additions and 0 deletions
14
roms/u-boot/lib/libfdt/test_libfdt.py
Normal file
14
roms/u-boot/lib/libfdt/test_libfdt.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
our_path = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path.append(os.path.join(our_path, '../../b/sandbox_spl/tools'))
|
||||
|
||||
import libfdt
|
||||
|
||||
with open('b/sandbox_spl/u-boot.dtb') as fd:
|
||||
fdt = fd.read()
|
||||
|
||||
print libfdt.fdt_path_offset(fdt, "/aliases")
|
Loading…
Add table
Add a link
Reference in a new issue