Re: [U-Boot] [PATCH v3 14/29] fdt: Add a function to get the alias sequence of a node

2014-07-26 Thread Simon Glass
On 23 July 2014 13:55, Simon Glass wrote: > Aliases are used to provide U-Boot's numbering of devices, such as: > > aliases { > spi0 = "/spi@1233"; > } > > spi@1233 { > ... > } > > This tells us that the SPI controller at 1233 is considered to be the > first SPI control

[U-Boot] [PATCH v3 14/29] fdt: Add a function to get the alias sequence of a node

2014-07-23 Thread Simon Glass
Aliases are used to provide U-Boot's numbering of devices, such as: aliases { spi0 = "/spi@1233"; } spi@1233 { ... } This tells us that the SPI controller at 1233 is considered to be the first SPI controller (SPI 0). So we have a numbering for the SPI node. Add a fun