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 <ste...@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)
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to