summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/sound/simple-scu-card.txt
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-18 12:48:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-18 12:54:06 +0100
commit8e48593dfaaf024613a9c0f8a30a1eaae68392a2 (patch)
tree7f03e1369e234b77c64e920eb539282a65ebcace /dts/Bindings/sound/simple-scu-card.txt
parentc00193a57b3c7024dd14b49f0f826bdccbe89153 (diff)
downloadbarebox-8e48593dfaaf024613a9c0f8a30a1eaae68392a2.tar.gz
barebox-8e48593dfaaf024613a9c0f8a30a1eaae68392a2.tar.xz
of: Fix reproducible names for #address-cells != 1
For the new "fixed-partitions" binding we ignore the partitions subnode for creating reproducible names and set node to its parent. To get the number of address cells we must call of_n_addr_cells() before setting node to its parent though, not afterwards. With the current behaviour we always get OF_ROOT_NODE_ADDR_CELLS_DEFAULT (=1). This happens to work then the partitioned device is less than 4GiB in size. On bigger devices #address-cells = <2> is chosen by the mtd partition fixup code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reported-by: Bastian Krause <bst@pengutronix.de>
Diffstat (limited to 'dts/Bindings/sound/simple-scu-card.txt')
0 files changed, 0 insertions, 0 deletions