diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-02-23 18:39:53 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:48:09 +0200 |
commit | 9de1115de72106fb0e8dfbfe98f337a1c7a8dc11 (patch) | |
tree | 373aebe64cdc20b8cf1cc274a2af4e64a40af45e /drivers/usb/dwc3/io.h | |
parent | 30c31d589784113bd50b1a55da0dc405aea43684 (diff) | |
download | u-boot-9de1115de72106fb0e8dfbfe98f337a1c7a8dc11.tar.gz u-boot-9de1115de72106fb0e8dfbfe98f337a1c7a8dc11.tar.xz u-boot-9de1115de72106fb0e8dfbfe98f337a1c7a8dc11.zip |
usb: dwc3: remove trace_* APIs from dwc3 driver
Removed most of the trace_* APIs from dwc3 driver since tracepoints are not
supported in u-boot. Replaced some of the trace_* API with dev_dbg/dev/vdbg.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Review-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/usb/dwc3/io.h')
-rw-r--r-- | drivers/usb/dwc3/io.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/usb/dwc3/io.h b/drivers/usb/dwc3/io.h index 87a1ae6e7e..f9f22b0ea4 100644 --- a/drivers/usb/dwc3/io.h +++ b/drivers/usb/dwc3/io.h @@ -19,7 +19,6 @@ #define __DRIVERS_USB_DWC3_IO_H #include <linux/io.h> -#include "trace.h" #include "debug.h" #include "core.h" @@ -35,14 +34,6 @@ static inline u32 dwc3_readl(void __iomem *base, u32 offset) */ value = readl(base + offs); - /* - * When tracing we want to make it easy to find the correct address on - * documentation, so we revert it back to the proper addresses, the - * same way they are described on SNPS documentation - */ - dwc3_trace(trace_dwc3_readl, "addr %p value %08x", - base - DWC3_GLOBALS_REGS_START + offset, value); - return value; } @@ -56,14 +47,6 @@ static inline void dwc3_writel(void __iomem *base, u32 offset, u32 value) * However, the offsets are given starting from xHCI address space. */ writel(value, base + offs); - - /* - * When tracing we want to make it easy to find the correct address on - * documentation, so we revert it back to the proper addresses, the - * same way they are described on SNPS documentation - */ - dwc3_trace(trace_dwc3_writel, "addr %p value %08x", - base - DWC3_GLOBALS_REGS_START + offset, value); } #endif /* __DRIVERS_USB_DWC3_IO_H */ |