diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2019-10-09 21:38:01 +0200 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-10-22 17:31:32 +1100 |
commit | 13e1a7e54cf0f46e2fe414b8499661dd4b9b903d (patch) | |
tree | a05799209cb7ff4065b4d157e4c675ee01631c3b /hw/npu2-opencapi.c | |
parent | 94bc2d7a85110d752a8424d5f85382c4f02ec155 (diff) | |
download | skiboot-13e1a7e54cf0f46e2fe414b8499661dd4b9b903d.zip skiboot-13e1a7e54cf0f46e2fe414b8499661dd4b9b903d.tar.gz skiboot-13e1a7e54cf0f46e2fe414b8499661dd4b9b903d.tar.bz2 |
npu2-hw-procedures: Move some opencapi PHY settings in one-off init
The PHY_RX_AC_COUPLED and PHY_RX_SPEED_SELECT for opencapi are group
settings for the obus. They should be set in the one-off PHY init
function at boot and not on the link reset path, as they theoretically
impact more than one link.
Since we cannot mix link type and/or speed on an optical bus, it has
no pratical impact, it just looks cleaner.
Also use the OCAPIINF macro for the associated traces.
Reviewed-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/npu2-opencapi.c')
0 files changed, 0 insertions, 0 deletions