projects
/
platform
/
kernel
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
doc: driver-model: Convert remoteproc-framework.txt to reST
[platform/kernel/u-boot.git]
/
lib
/
libfdt
/
test_libfdt.py
1
#!/usr/bin/python
2
3
import os
4
import sys
5
6
our_path = os.path.dirname(os.path.realpath(__file__))
7
sys.path.append(os.path.join(our_path, '../../b/sandbox_spl/tools'))
8
9
import libfdt
10
11
with open('b/sandbox_spl/u-boot.dtb') as fd:
12
fdt = fd.read()
13
14
print libfdt.fdt_path_offset(fdt, "/aliases")