Re: [U-Boot] [PATCH v2 11/26] dm: core: Add a flag to control sequence numbering

2015-01-22 Thread Masahiro Yamada
Hi Simon, On Mon, 19 Jan 2015 20:12:40 -0700 Simon Glass s...@chromium.org wrote: @@ -413,43 +413,18 @@ This indicates that in the uclass called serial, the named node (/serial@2223) will be given sequence number 2. Any command or driver which requests serial device 2 will obtain

[U-Boot] [PATCH v2 11/26] dm: core: Add a flag to control sequence numbering

2015-01-19 Thread Simon Glass
At present we try to use the 'reg' property and device tree aliases to give devices a sequence number. The 'reg' property is often actually a memory address, so the sequence numbers thus-obtained are not useful. It would be better if the devices were just sequentially numbered in that case. In