]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: remove writes{b,w,l,q} and reads{b,w,l,q}.
authorPurna Chandra Mandal <purna.mandal@microchip.com>
Mon, 21 Mar 2016 07:35:41 +0000 (13:05 +0530)
committerMarek Vasut <marex@denx.de>
Sun, 10 Apr 2016 15:18:41 +0000 (17:18 +0200)
Definition of writes{bwlq}, reads{bwlq} are now added into arch specific
asm/io.h. So removing them from driver to fix re-definition error

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
drivers/mtd/nand/pxa3xx_nand.c
drivers/usb/musb-new/linux-compat.h

index 939274204e18bef80a9428ba6fcf7797a106ee91..d529467ebc84599194f3a52ca6b1e46075bd6999 100644 (file)
 
 #include "pxa3xx_nand.h"
 
-/* Some U-Boot compatibility macros */
-#define writesl(a, d, s)       __raw_writesl((unsigned long)a, d, s)
-#define readsl(a, d, s)                __raw_readsl((unsigned long)a, d, s)
-#define writesw(a, d, s)       __raw_writesw((unsigned long)a, d, s)
-#define readsw(a, d, s)                __raw_readsw((unsigned long)a, d, s)
-#define writesb(a, d, s)       __raw_writesb((unsigned long)a, d, s)
-#define readsb(a, d, s)                __raw_readsb((unsigned long)a, d, s)
-
 #define TIMEOUT_DRAIN_FIFO     5       /* in ms */
 #define        CHIP_DELAY_TIMEOUT      200
 #define NAND_STOP_DELAY                40
index 1fc9391b8e0f6951fd81b825a66c8a24c46dd4c6..92449775799f2e5a2a1f3e9119a657e337011969 100644 (file)
                printf(fmt, ##args);            \
        ret_warn; })
 
-#define writesl(a, d, s) __raw_writesl((unsigned long)a, d, s)
-#define readsl(a, d, s) __raw_readsl((unsigned long)a, d, s)
-#define writesw(a, d, s) __raw_writesw((unsigned long)a, d, s)
-#define readsw(a, d, s) __raw_readsw((unsigned long)a, d, s)
-#define writesb(a, d, s) __raw_writesb((unsigned long)a, d, s)
-#define readsb(a, d, s) __raw_readsb((unsigned long)a, d, s)
-
 #define device_init_wakeup(dev, a) do {} while (0)
 
 #define platform_data device_data