nbhw18_v2: allow disabling of serdes

This commit is contained in:
user 2018-02-13 11:23:04 +01:00
parent 212e83c8ba
commit 012f017074
1 changed files with 4 additions and 2 deletions

View File

@ -151,8 +151,10 @@ int hws_board_topology_load(struct serdes_map **serdes_map_array, u8 *count)
else if ((type >= USB3_HOST0) && (type <= USB3_HOST1)) {
board_serdes_map[i].serdes_speed = SERDES_SPEED_5_GBPS;
board_serdes_map[i].serdes_mode = PEX_ROOT_COMPLEX_X1;
}
else {
} else if ((type == DEFAULT_SERDES)) {
board_serdes_map[i].serdes_speed = SERDES_SPEED_1_25_GBPS;
board_serdes_map[i].serdes_mode = SERDES_DEFAULT_MODE;
} else {
printf("SERDES Type %d not supported\n", type);
/* Keep default serdes configuration */
type = board_serdes_map[i].serdes_type;