cavium/bdk: Fix reference clock
Swap 100Mhz and 156Mhz reference clock. Correct values are taken from __bdk_qlm_sff81xx_set_reference(). Tested on Cavium's cn8100_sff_evb. Change-Id: I312ce7379b361594249f9f26f4e561ebf57347df Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/27454 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
239e435739
commit
bb11232210
|
@ -832,11 +832,11 @@ static void __bdk_qlm_set_reference(bdk_node_t node, int qlm, int ref_clk)
|
|||
{
|
||||
switch (ref_clk)
|
||||
{
|
||||
case REF_100MHZ:
|
||||
case REF_156MHZ:
|
||||
use_clock = 0; /* Common clock 0 */
|
||||
BDK_TRACE(QLM, "Setting N%d.QLM%d to use common clock 0\n", node, qlm);
|
||||
break;
|
||||
case REF_156MHZ:
|
||||
case REF_100MHZ:
|
||||
use_clock = 1; /* Common clock 1 */
|
||||
BDK_TRACE(QLM, "Setting N%d.QLM%d to use common clock 1\n", node, qlm);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue