summaryrefslogtreecommitdiff
path: root/include/dm/platform_data/net_ethoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dm/platform_data/net_ethoc.h')
-rw-r--r--include/dm/platform_data/net_ethoc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/dm/platform_data/net_ethoc.h b/include/dm/platform_data/net_ethoc.h
new file mode 100644
index 0000000..855e999
--- /dev/null
+++ b/include/dm/platform_data/net_ethoc.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2016 Cadence Design Systems Inc.
+ */
+
+#ifndef _ETHOC_H
+#define _ETHOC_H
+
+#include <net.h>
+
+#ifdef CONFIG_DM_ETH
+
+struct ethoc_eth_pdata {
+ struct eth_pdata eth_pdata;
+ phys_addr_t packet_base;
+};
+
+#endif
+
+#endif /* _ETHOC_H */