Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 03:51:24 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253507 - head/sys/mips/atheros
Message-ID:  <201307210351.r6L3pOQv056824@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Jul 21 03:51:24 2013
New Revision: 253507
URL: http://svnweb.freebsd.org/changeset/base/253507

Log:
  Add two new CPU specific definitions - the watchdog clock frequency and
  the UART clock frequency.
  
  The AR933x and AR934x have separate PLL settings for these.

Modified:
  head/sys/mips/atheros/ar71xx_cpudef.h

Modified: head/sys/mips/atheros/ar71xx_cpudef.h
==============================================================================
--- head/sys/mips/atheros/ar71xx_cpudef.h	Sat Jul 20 22:35:32 2013	(r253506)
+++ head/sys/mips/atheros/ar71xx_cpudef.h	Sun Jul 21 03:51:24 2013	(r253507)
@@ -121,10 +121,14 @@ extern uint32_t u_ar71xx_refclk;
 extern uint32_t u_ar71xx_cpu_freq;
 extern uint32_t u_ar71xx_ahb_freq;
 extern uint32_t u_ar71xx_ddr_freq;
+extern uint32_t u_ar71xx_uart_freq;
+extern uint32_t u_ar71xx_wdt_freq;
 
 static inline uint64_t ar71xx_refclk(void) { return u_ar71xx_refclk; }
 static inline uint64_t ar71xx_cpu_freq(void) { return u_ar71xx_cpu_freq; }
 static inline uint64_t ar71xx_ahb_freq(void) { return u_ar71xx_ahb_freq; }
 static inline uint64_t ar71xx_ddr_freq(void) { return u_ar71xx_ddr_freq; }
- 
+static inline uint64_t ar71xx_uart_freq(void) { return u_ar71xx_uart_freq; }
+static inline uint64_t ar71xx_wdt_freq(void) { return u_ar71xx_wdt_freq; }
+
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307210351.r6L3pOQv056824>