On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <s...@chromium.org> wrote: > > At present address translation does not work since there is no ranges > property in the spmi nodes. Add empty ranges properties and a little more > logging so that this shows the error: > > /tmp/b/sandbox/u-boot -d /tmp/b/sandbox/arch/sandbox/dts/test.dtb \ > -c "ut dm spmi_access_peripheral" -L7 -v > ... > pm8916_gpio_probe() bad address: returning err=-22 > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > arch/sandbox/dts/test.dts | 2 ++ > drivers/gpio/pm8916_gpio.c | 12 ++++++------ > 2 files changed, 8 insertions(+), 6 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> Tested-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot