diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2018-12-07 14:50:39 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2018-12-10 06:05:32 +0100 |
commit | 3542ff29e4542b8cb0ac3ae861247e9bd487f22f (patch) | |
tree | c367a4fefd555225d5be719f2cd12e564b4592ad /configs | |
parent | f32a8007ef0fcc1a8f27e0cb444f6861163b03f6 (diff) | |
download | u-boot-3542ff29e4542b8cb0ac3ae861247e9bd487f22f.tar.gz |
dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL
If OF_CONTROL is not enabled and DM_SEQ_ALIAS is enabled, we must
assign an alias (requested sequence number) to devices that belongs to a
class with the DM_UC_FLAG_SEQ_ALIAS flag. Otherwise
uclass_find_device_by_seq() cannot be used to get/probe a device. In
particular i2c_get_chip_for_busnum() cannot be used.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions