]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: i2c_emul_find() No emulators for device 'rtc@43'
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 5 Jan 2019 21:30:07 +0000 (22:30 +0100)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Jan 2019 00:47:13 +0000 (17:47 -0700)
commit34486d39b2d0de774ecf6c6103a11e2be5bf6a74
treeae80ed242851ee180e4036276d45b4169cb4cdd5
parenteaad761af06da9fe94405d3bfaf59961260a10f9
sandbox: i2c_emul_find() No emulators for device 'rtc@43'

when running the date command on sandbox_defconfig an error occurs:

    ./u-boot -D u-boot.dtb

    => date
    i2c_emul_find() No emulators for device 'rtc@43'
    ## Get date failed

Correct the references to the emulator devices in the sandbox device trees
using test.dts as a reference.

Fixes: c20169bd1ef3 ("dm: sandbox: i2c: Use new emulator parent uclass")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Dropped unnecessary #address/size-cells property in i2c_emul:
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/sandbox64.dts