diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2018-03-02 15:44:40 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2018-03-02 15:44:40 +0000 |
commit | c90c7a27efbd87af8f92bfc72e1c9e991c7020af (patch) | |
tree | 51e1b54e4009c4a3b62fb0cefffc7228597d6fc3 | |
parent | b4778901d740e1d09deaa527e32f0c6e2d3d1ea5 (diff) |
Fix reference clock frequency.
-rw-r--r-- | sys/arch/octeon/dev/octxctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/octeon/dev/octxctl.c b/sys/arch/octeon/dev/octxctl.c index 775b7e92ec9..2648f65b8d8 100644 --- a/sys/arch/octeon/dev/octxctl.c +++ b/sys/arch/octeon/dev/octxctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octxctl.c,v 1.2 2018/01/16 15:22:14 visa Exp $ */ +/* $OpenBSD: octxctl.c,v 1.3 2018/03/02 15:44:39 visa Exp $ */ /* * Copyright (c) 2017 Visa Hankala @@ -229,9 +229,9 @@ octxctl_uctl_init(struct octxctl_softc *sc, uint64_t clock_freq, case 100000000: default: if (clock_sel < 2) - refclk_fsel = 0x07; - else refclk_fsel = 0x27; + else + refclk_fsel = 0x07; mpll_mult = 0x19; break; } |