Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2015 16:56:20 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282586 - head/sys/arm/include
Message-ID:  <201505071656.t47GuK4A030767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu May  7 16:56:20 2015
New Revision: 282586
URL: https://svnweb.freebsd.org/changeset/base/282586

Log:
  Correct PL310_POWER_CTRL offset
  
  Offet for the power control register was specified incorrectly (it had
  the same value as the prefetch control register.) This change corrects
  the offset value to 0xF80, per the ARM PL310 documentation.
  
  Submitted by:	Steve Kiernan <stevek@juniper.net>
  Obtained from:	Juniper Networks, Inc.

Modified:
  head/sys/arm/include/pl310.h

Modified: head/sys/arm/include/pl310.h
==============================================================================
--- head/sys/arm/include/pl310.h	Thu May  7 15:31:21 2015	(r282585)
+++ head/sys/arm/include/pl310.h	Thu May  7 16:56:20 2015	(r282586)
@@ -133,7 +133,7 @@
 #define		PREFETCH_CTRL_DATA_PREFETCH	(1 << 28)
 #define		PREFETCH_CTRL_INSTR_PREFETCH	(1 << 29)
 #define		PREFETCH_CTRL_DL		(1 << 30)
-#define PL310_POWER_CTRL		0xF60
+#define PL310_POWER_CTRL		0xF80
 #define		POWER_CTRL_ENABLE_GATING	(1 << 0)
 #define		POWER_CTRL_ENABLE_STANDBY	(1 << 1)
 



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