Commit 289bbb31 authored by Adam Wujek's avatar Adam Wujek

include/libwr: remove rx_calibrated and tx_calibrated from hal_port_calibration

Saves 132B
Needs ppsi commit:
arch-wrpc: rename hal_port_state to wrc_port_state
Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent cf36ad05
......@@ -13,15 +13,8 @@ typedef struct hal_port_calibration {
/* bit slide expressed in picos */
uint32_t bitslide_ps;
int delta_tx_ps; /* "delta" of this SFP type WRT calibration type */
int delta_rx_ps;
/* When non-zero: RX path is calibrated (delta_*_rx contain valid values) */
int rx_calibrated;
/* When non-zero: TX path is calibrated */
int tx_calibrated;
} hal_port_calibration_t;
/* Internal port state structure */
......
......@@ -47,8 +47,6 @@ int wrpc_get_port_state(struct wrc_port_state *port, const char *port_name)
/* get the bitslide */
port->calib.bitslide_ps = ep_get_bitslide(&wrc_endpoint_dev);
read_phase_val(port);
port->calib.tx_calibrated = 1;
port->calib.rx_calibrated = 1;
port->locked = spll_check_lock(0);
port->clock_period = REF_CLOCK_PERIOD_PS;
port->t2_phase_transition = cal_phase_transition;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment