svn commit: r307963 - head/sys/arm/allwinner/clk
Andrew Turner
andrew at FreeBSD.org
Wed Oct 26 14:09:31 UTC 2016
Author: andrew
Date: Wed Oct 26 14:09:30 2016
New Revision: 307963
URL: https://svnweb.freebsd.org/changeset/base/307963
Log:
Define the Allwinner PLL FDT constants in the file that uses them rather
than including a file from under sys/gnu.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/allwinner/clk/aw_pll.c
Modified: head/sys/arm/allwinner/clk/aw_pll.c
==============================================================================
--- head/sys/arm/allwinner/clk/aw_pll.c Wed Oct 26 12:41:44 2016 (r307962)
+++ head/sys/arm/allwinner/clk/aw_pll.c Wed Oct 26 14:09:30 2016 (r307963)
@@ -47,12 +47,15 @@ __FBSDID("$FreeBSD$");
#include <dev/extres/clk/clk.h>
-#include <dt-bindings/clock/sun4i-a10-pll2.h>
-
#include <arm/allwinner/aw_machdep.h>
#include "clkdev_if.h"
+#define SUN4I_A10_PLL2_1X 0
+#define SUN4I_A10_PLL2_2X 1
+#define SUN4I_A10_PLL2_4X 2
+#define SUN4I_A10_PLL2_8X 3
+
#define AW_PLL_ENABLE (1 << 31)
#define A10_PLL1_OUT_EXT_DIVP (0x3 << 16)
More information about the svn-src-head
mailing list