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)
committerHeiko Schocher <hs@denx.de>
Fri, 8 Feb 2019 05:25:49 +0000 (06:25 +0100)
commita93eb577b9ae635ef6f631e8509d113c15f53530
treee582a46373e38593414d9944bc082342e71dd6ba
parent83e4c7e9ffa57fe4116967999c223c952a46a78a
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