diff options
author | Tom Rini <trini@konsulko.com> | 2018-10-11 15:28:32 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-10-11 15:28:32 -0400 |
commit | 0223462b373b975d970fa86e5e1a7eadd1d41820 (patch) | |
tree | 65f798468bfb9cdf3c4c2a99bd88df9108ccd4df /drivers/net/mvpp2.c | |
parent | 3d5ced9e22d32112a20f9dc0f5fb1f22ef088079 (diff) | |
parent | 1a048cd65645338069d591108031fa4ebe96d53f (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/net/mvpp2.c')
-rw-r--r-- | drivers/net/mvpp2.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 62c0c2be062..f34245ba77d 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -35,18 +35,6 @@ DECLARE_GLOBAL_DATA_PTR; -/* Some linux -> U-Boot compatibility stuff */ -#define netdev_err(dev, fmt, args...) \ - printf(fmt, ##args) -#define netdev_warn(dev, fmt, args...) \ - printf(fmt, ##args) -#define netdev_info(dev, fmt, args...) \ - printf(fmt, ##args) -#define netdev_dbg(dev, fmt, args...) \ - printf(fmt, ##args) - -#define ETH_ALEN 6 /* Octets in one ethernet addr */ - #define __verify_pcpu_ptr(ptr) \ do { \ const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ @@ -68,7 +56,6 @@ do { \ #define NET_SKB_PAD max(32, MVPP2_CPU_D_CACHE_LINE_SIZE) #define CONFIG_NR_CPUS 1 -#define ETH_HLEN ETHER_HDR_SIZE /* Total octets in header */ /* 2(HW hdr) 14(MAC hdr) 4(CRC) 32(extra for cache prefetch) */ #define WRAP (2 + ETH_HLEN + 4 + 32) |