[PATCH 04/11] dm: Remove uses of device_bind_offset()

Eugen.Hristev at microchip.com Eugen.Hristev at microchip.com
Sun Jan 31 10:18:28 CET 2021


On 10.12.2020 02:26, Simon Glass wrote:
> This function is not needed since the standard device_bind() can be used
> instead.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>   arch/x86/cpu/apollolake/spl.c               |  2 +-
>   drivers/clk/at91/compat.c                   | 20 ++++++++------------
>   drivers/clk/clk.c                           |  2 +-
>   drivers/gpio/mt7621_gpio.c                  |  4 ++--
>   drivers/gpio/s5p_gpio.c                     |  4 ++--
>   drivers/gpio/sunxi_gpio.c                   |  4 ++--
>   drivers/gpio/tegra186_gpio.c                |  4 ++--
>   drivers/gpio/tegra_gpio.c                   |  6 +++---
>   drivers/net/mvpp2.c                         |  4 ++--
>   drivers/pinctrl/broadcom/pinctrl-bcm283x.c  |  5 ++---
>   drivers/pinctrl/meson/pinctrl-meson.c       |  4 +++-
>   drivers/pinctrl/mscc/pinctrl-jr2.c          |  4 ++--
>   drivers/pinctrl/mscc/pinctrl-luton.c        |  4 ++--
>   drivers/pinctrl/mscc/pinctrl-ocelot.c       |  4 ++--
>   drivers/pinctrl/mscc/pinctrl-serval.c       |  4 ++--
>   drivers/pinctrl/mscc/pinctrl-servalt.c      |  4 ++--
>   drivers/pinctrl/mvebu/pinctrl-armada-37xx.c |  8 ++++----
>   drivers/power/regulator/Kconfig             |  2 +-
>   include/dm/device-internal.h                |  4 ++--
>   include/power/regulator.h                   |  2 +-
>   20 files changed, 46 insertions(+), 49 deletions(-)
> 
> Applied to u-boot-dm, thanks!
> 


Hi Simon,

I bisected the tree and this commit looks to break 
sama5d4_xplained_mmc_defconfig :

<debug_uart>
No serial driver found
Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Could not initialize timer (err -19)

Booting u-boot fails when adding this commit.

Could you please help or let me know how I can fix it ?

Thanks,
Eugen

a2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64 is the first bad commit
commit a2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64
Author: Simon Glass <sjg at chromium.org>
Date:   Sat Nov 28 17:50:03 2020 -0700

     dm: Remove uses of device_bind_offset()

     This function is not needed since the standard device_bind() can be 
used
     instead.

     Signed-off-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list