summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-04-24 22:43:23 +0000
committerWolfgang Denk <wd@denx.de>2012-07-08 22:15:08 +0200
commitfe749d3728b281cd0b986c82eed30c64b3450ce7 (patch)
tree75c921ac30bba33ef24e7843e6479b8a3c2dd446 /drivers
parent50cd93b25033764dcda9bb47aa68be778f94d36e (diff)
downloadu-boot-imx-fe749d3728b281cd0b986c82eed30c64b3450ce7.zip
u-boot-imx-fe749d3728b281cd0b986c82eed30c64b3450ce7.tar.gz
u-boot-imx-fe749d3728b281cd0b986c82eed30c64b3450ce7.tar.bz2
Remove remaining mdelay() macros
Drop mdelay() macros since we already have a common mdelay() func. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/sata_sil.c1
-rw-r--r--drivers/video/da8xx-fb.c1
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;