Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Max Filippov | c91eb0c | 2016-08-05 18:26:17 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Cadence Design Systems Inc. |
Max Filippov | c91eb0c | 2016-08-05 18:26:17 +0300 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _ETHOC_H |
| 7 | #define _ETHOC_H |
| 8 | |
| 9 | #include <net.h> |
| 10 | |
| 11 | #ifdef CONFIG_DM_ETH |
| 12 | |
| 13 | struct ethoc_eth_pdata { |
| 14 | struct eth_pdata eth_pdata; |
Max Filippov | 19e7a9e | 2016-08-05 18:26:20 +0300 | [diff] [blame] | 15 | phys_addr_t packet_base; |
Max Filippov | c91eb0c | 2016-08-05 18:26:17 +0300 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | #endif |
| 19 | |
| 20 | #endif /* _ETHOC_H */ |