Hi Mark,
Minor issue, but when #address-cells == 2, some unit addresses are
split in the middle by a ',' to separate the value of each cell, e.g.
flash@2,0. For those, is_hex will return false and we'll compare
unit-addresses as strings.
I took a quick look over the dts in the Linux
On Tue, Jan 21, 2014 at 02:49:35AM +, Anton Blanchard wrote:
The sort option in dtc treats unit addresses as strings. This causes
cpu nodes to end up out of order:
# dtc -s -I fs -O dts /proc/device-tree | grep PowerPC,POWER7
PowerPC,POWER7@30 {
The sort option in dtc treats unit addresses as strings. This causes
cpu nodes to end up out of order:
# dtc -s -I fs -O dts /proc/device-tree | grep PowerPC,POWER7
PowerPC,POWER7@30 {
PowerPC,POWER7@68 {
PowerPC,POWER7@70 {