u-boot-brain/include/dm
Simon Glass 9cc36a2b89 dm: core: Add a flag to control sequence numbering
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@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2015-01-29 17:09:55 -07:00
..
platform_data dm: serial: use Driver Model for UniPhier serial driver 2014-10-23 21:43:09 -06:00
device-internal.h dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
device.h dm: core: Add a function to get a device's uclass ID 2015-01-29 17:09:55 -07:00
lists.h dm: Add a function to bind a device by driver name 2014-11-22 10:16:47 +01:00
platdata.h dm: core: Allow a list of devices to be declared in one step 2014-10-22 10:36:54 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h test: dm: Support memory leak checking as a core feature 2014-10-23 19:29:53 -06:00
uclass-id.h dm: Add a simple EEPROM driver 2014-12-11 13:18:43 -07:00
uclass-internal.h
uclass.h dm: core: Add a flag to control sequence numbering 2015-01-29 17:09:55 -07:00
ut.h dm: i2c: Add tests for I2C 2014-12-11 13:18:43 -07:00
util.h dm: Disable dm_warn() in SPL 2014-11-21 08:13:17 +01:00