Skip to content

Commit

Permalink
[syncd-brcm]: add pre-emphasis load to start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirut Getbamrung committed Oct 21, 2020
1 parent 6c0b9ad commit 6ac2ff7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions platform/broadcom/docker-syncd-brcm/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ fi

supervisorctl start syncd

# If this platform has a pre_emphasis setting file, load it
if [[ -r $HWSKU_DIR/pre-emphasis_PAM4_optics.soc ]]; then
wait_syncd
/usr/bin/bcmcmd -t 60 "rcload $HWSKU_DIR/pre-emphasis_PAM4_optics.soc"
fi

# If this platform has an initialization file for the Broadcom LED microprocessor, load it
if [[ -r ${PLATFORM_DIR}/led_proc_init.soc && ! -f /var/warmboot/warm-starting ]]; then
wait_syncd
Expand Down

0 comments on commit 6ac2ff7

Please sign in to comment.