[U-Boot] [PATCH] consolidate mdelay by providing a common function for all users

Wolfgang Denk wd at denx.de
Sat Oct 22 01:16:17 CEST 2011


Dear Anatolij Gustschin,

In message <1318422699-9394-1-git-send-email-agust at denx.de> you wrote:
> There are several mdelay() definitions in the driver and
> board code. Remove them all and provide a common mdelay()
> in lib/time.c.
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c       |    1 -
>  arch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c |    1 -
>  arch/powerpc/cpu/mpc5xxx/usb_ohci.c           |    1 -
>  arch/powerpc/cpu/ppc4xx/usb_ohci.c            |    1 -
>  arch/powerpc/include/asm/4xx_pcie.h           |    8 --------
>  board/amcc/taishan/lcd.c                      |    2 --
>  board/freescale/mx35pdk/mx35pdk.c             |    2 --
>  board/karo/tx25/tx25.c                        |    6 ------
>  board/linkstation/hwctl.c                     |    2 --
>  drivers/block/fsl_sata.c                      |    7 -------
>  drivers/block/ftide020.c                      |    2 --
>  drivers/net/e1000.c                           |    1 -
>  drivers/net/ftgmac100.c                       |    2 --
>  drivers/net/ne2000.c                          |    1 -
>  drivers/net/ne2000_base.c                     |    1 -
>  drivers/net/smc911x.c                         |    2 --
>  drivers/usb/host/ohci-hcd.c                   |    1 -
>  drivers/usb/host/sl811-hcd.c                  |    2 --
>  include/common.h                              |    1 +
>  lib/time.c                                    |    6 ++++++
>  20 files changed, 7 insertions(+), 43 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
... Jesus cried with a loud voice: Lazarus, come forth; the bug  hath
been  found  and  thy  program  runneth.  And  he  that was dead came
forth...                              -- John 11:43-44 [version 2.0?]


More information about the U-Boot mailing list