Some AF for F1 are missing
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
This commit is contained in:
parent
3078740849
commit
fa4ff52ced
1 changed files with 5 additions and 5 deletions
|
|
@ -100,11 +100,11 @@ def get_gpio_af_numF1(xml, pintofind, iptofind):
|
||||||
if iptofind in secondlevel:
|
if iptofind in secondlevel:
|
||||||
# m = IP node found
|
# m = IP node found
|
||||||
#print (i, j, m.attributes.items())
|
#print (i, j, m.attributes.items())
|
||||||
if m.hasChildNodes() == False:
|
for p in m.childNodes:
|
||||||
mygpioaf = 'AFIO_NONE'
|
#p node 'RemapBlock'
|
||||||
else:
|
if p.nodeType == Node.ELEMENT_NODE and p.hasChildNodes() == False:
|
||||||
for p in m.childNodes:
|
mygpioaf += ' AFIO_NONE'
|
||||||
#p node 'RemapBlock'
|
else:
|
||||||
for s in p.childNodes:
|
for s in p.childNodes:
|
||||||
if s.nodeType == Node.ELEMENT_NODE:
|
if s.nodeType == Node.ELEMENT_NODE:
|
||||||
#s node 'Specific parameter'
|
#s node 'Specific parameter'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue