public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Remove remaining mdelay() macros
@ 2012-04-25  8:43 Anatolij Gustschin
  2012-04-25 22:50 ` Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anatolij Gustschin @ 2012-04-25  8:43 UTC (permalink / raw)
  To: u-boot

Drop mdelay() macros since we already have a common mdelay() func.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 drivers/block/sata_sil.c |    1 -
 drivers/video/da8xx-fb.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/block/sata_sil.c b/drivers/block/sata_sil.c
index 5e7ef5e..fb7cd2a 100644
--- a/drivers/block/sata_sil.c
+++ b/drivers/block/sata_sil.c
@@ -30,7 +30,6 @@
 
 /* Convert sectorsize to wordsize */
 #define ATA_SECTOR_WORDS (ATA_SECT_SIZE/2)
-#define mdelay(n)   udelay((n)*1000)
 #define virt_to_bus(devno, v)	pci_virt_to_mem(devno, (void *) (v))
 
 static struct sata_info sata_info;
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index a2981b1..30c19b3 100644
--- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c
@@ -121,7 +121,6 @@ struct da8xx_lcd_regs {
 #define LOWER_MARGIN	32
 
 #define calc_fbsize() (panel.plnSizeX * panel.plnSizeY * panel.gdfBytesPP)
-#define mdelay(n) ({unsigned long msec = (n); while (msec--) udelay(1000); })
 
 static struct da8xx_lcd_regs *da8xx_fb_reg_base;
 
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] Remove remaining mdelay() macros
  2012-04-25  8:43 [U-Boot] [PATCH] Remove remaining mdelay() macros Anatolij Gustschin
@ 2012-04-25 22:50 ` Mike Frysinger
  2012-05-24 19:54 ` Anatolij Gustschin
  2012-07-08 20:15 ` Wolfgang Denk
  2 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2012-04-25 22:50 UTC (permalink / raw)
  To: u-boot

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120425/538f3d20/attachment.pgp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] Remove remaining mdelay() macros
  2012-04-25  8:43 [U-Boot] [PATCH] Remove remaining mdelay() macros Anatolij Gustschin
  2012-04-25 22:50 ` Mike Frysinger
@ 2012-05-24 19:54 ` Anatolij Gustschin
  2012-07-08 20:15 ` Wolfgang Denk
  2 siblings, 0 replies; 4+ messages in thread
From: Anatolij Gustschin @ 2012-05-24 19:54 UTC (permalink / raw)
  To: u-boot

On Wed, 25 Apr 2012 10:43:23 +0200
Anatolij Gustschin <agust@denx.de> wrote:

> Drop mdelay() macros since we already have a common mdelay() func.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  drivers/block/sata_sil.c |    1 -
>  drivers/video/da8xx-fb.c |    1 -
>  2 files changed, 0 insertions(+), 2 deletions(-)

Applied to u-boot-staging/agust at denx.de.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] Remove remaining mdelay() macros
  2012-04-25  8:43 [U-Boot] [PATCH] Remove remaining mdelay() macros Anatolij Gustschin
  2012-04-25 22:50 ` Mike Frysinger
  2012-05-24 19:54 ` Anatolij Gustschin
@ 2012-07-08 20:15 ` Wolfgang Denk
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2012-07-08 20:15 UTC (permalink / raw)
  To: u-boot

Dear Anatolij Gustschin,

In message <1335343403-4405-1-git-send-email-agust@denx.de> you wrote:
> Drop mdelay() macros since we already have a common mdelay() func.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  drivers/block/sata_sil.c |    1 -
>  drivers/video/da8xx-fb.c |    1 -
>  2 files changed, 0 insertions(+), 2 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
Due to lack of disk space, this fortune database has been discontinued.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-08 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-25  8:43 [U-Boot] [PATCH] Remove remaining mdelay() macros Anatolij Gustschin
2012-04-25 22:50 ` Mike Frysinger
2012-05-24 19:54 ` Anatolij Gustschin
2012-07-08 20:15 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox