svn commit: r317089 - head/sys/arm/include
Zbigniew Bodek
zbb at FreeBSD.org
Tue Apr 18 10:37:09 UTC 2017
Author: zbb
Date: Tue Apr 18 10:37:08 2017
New Revision: 317089
URL: https://svnweb.freebsd.org/changeset/base/317089
Log:
Fix bit assignment in PL310_POWER_CTRL
Align to ARM specification:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0246f/BEIEHICF.html
Submitted by: Marcin Wojtas <mw at semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield
Reviewed by: meloun-miracle-cz
Differential revision: https://reviews.freebsd.org/D10223
Modified:
head/sys/arm/include/pl310.h
Modified: head/sys/arm/include/pl310.h
==============================================================================
--- head/sys/arm/include/pl310.h Tue Apr 18 10:35:30 2017 (r317088)
+++ head/sys/arm/include/pl310.h Tue Apr 18 10:37:08 2017 (r317089)
@@ -134,8 +134,8 @@
#define PREFETCH_CTRL_INSTR_PREFETCH (1 << 29)
#define PREFETCH_CTRL_DL (1 << 30)
#define PL310_POWER_CTRL 0xF80
-#define POWER_CTRL_ENABLE_GATING (1 << 0)
-#define POWER_CTRL_ENABLE_STANDBY (1 << 1)
+#define POWER_CTRL_ENABLE_GATING (1 << 1)
+#define POWER_CTRL_ENABLE_STANDBY (1 << 0)
struct intr_config_hook;
More information about the svn-src-all
mailing list