forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/mips/include/asm/octeon/cvmx-helper-board.h
....@@ -93,7 +93,7 @@
9393 * Returns The ports link status. If the link isn't fully resolved, this must
9494 * return zero.
9595 */
96
-extern cvmx_helper_link_info_t __cvmx_helper_board_link_get(int ipd_port);
96
+extern union cvmx_helper_link_info __cvmx_helper_board_link_get(int ipd_port);
9797
9898 /**
9999 * This function is called by cvmx_helper_interface_probe() after it
....@@ -118,18 +118,6 @@
118118 */
119119 extern int __cvmx_helper_board_interface_probe(int interface,
120120 int supported_ports);
121
-
122
-/**
123
- * Enable packet input/output from the hardware. This function is
124
- * called after by cvmx_helper_packet_hardware_enable() to
125
- * perform board specific initialization. For most boards
126
- * nothing is needed.
127
- *
128
- * @interface: Interface to enable
129
- *
130
- * Returns Zero on success, negative on failure
131
- */
132
-extern int __cvmx_helper_board_hardware_enable(int interface);
133121
134122 enum cvmx_helper_board_usb_clock_types __cvmx_helper_board_usb_get_clock_type(void);
135123