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

Simon Glass sjg at chromium.org
Mon Jan 26 21:10:48 CET 2015


On 25 January 2015 at 08:27, Simon Glass <sjg at chromium.org> wrote:
> 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 fact
> neither I2C nor SPI use this feature, so drop it.
>
> Some devices need us to look up an alias to number them within the uclass.
> Add a flag to control this, so it is not done unless it is needed.
>
> Adjust the tests to test this new behaviour.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

Applied to -u-boot-dm


More information about the U-Boot mailing list