From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 22 Oct 2011 01:16:17 +0200 Subject: [U-Boot] [PATCH] consolidate mdelay by providing a common function for all users In-Reply-To: <1318422699-9394-1-git-send-email-agust@denx.de> References: <1318422699-9394-1-git-send-email-agust@denx.de> Message-ID: <20111021231617.3CEAA18AE81C@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anatolij Gustschin, In message <1318422699-9394-1-git-send-email-agust@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 > --- > 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?]