| 2698 | } |
| 2699 | |
| 2700 | u32 txgbe_flash_read_dword(struct txgbe_hw *hw, u32 addr) |
| 2701 | { |
| 2702 | u32 status; |
| 2703 | |
| 2704 | status = txgbe_fmgr_cmd_op(hw, 1, addr); |
| 2705 | if (status == 0x1) { |
| 2706 | DEBUGOUT("Read flash timeout."); |
| 2707 | return status; |
| 2708 | } |
| 2709 | |
| 2710 | return rd32(hw, TXGBE_SPIDAT); |
| 2711 | } |
| 2712 | |
| 2713 | /** |
| 2714 | * txgbe_init_ops_pf - Inits func ptrs and MAC type |
no test coverage detected