]> git.ipfire.org Git - thirdparty/u-boot.git/commit
dm: core: Add tests for dev_read_alias_highest_id()
authorMichal Simek <michal.simek@xilinx.com>
Thu, 31 Jan 2019 15:31:00 +0000 (16:31 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 12 Feb 2019 08:42:59 +0000 (09:42 +0100)
commitc6fbe21e2da12d08f3ae85dd122d524181186171
tree1c90fc22484c3794f2d75b1a9c1edc35cb5a941e
parent6f225cd4d2d40652ee9802a26be5209a1fe3970e
dm: core: Add tests for dev_read_alias_highest_id()

It is checking the highest alias ID for eth, gpio, pci, i2c and error
code on non existing alias.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/test-fdt.c