Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 14:35:09 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268401 - head/sys/arm/freescale/imx
Message-ID:  <201407081435.s68EZ91V007478@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Tue Jul  8 14:35:09 2014
New Revision: 268401
URL: http://svnweb.freebsd.org/changeset/base/268401

Log:
  Use named constant rather than '0' to access the reset controller register.

Modified:
  head/sys/arm/freescale/imx/imx6_mp.c

Modified: head/sys/arm/freescale/imx/imx6_mp.c
==============================================================================
--- head/sys/arm/freescale/imx/imx6_mp.c	Tue Jul  8 14:11:28 2014	(r268400)
+++ head/sys/arm/freescale/imx/imx6_mp.c	Tue Jul  8 14:35:09 2014	(r268401)
@@ -162,7 +162,7 @@ platform_mp_start_ap(void)
 		    ( 1 << (SRC_CONTROL_C1RST_SHIFT - 1 + i)));
 
 	}
-	bus_space_write_4(fdtbus_bs_tag, src, 0, val);
+	bus_space_write_4(fdtbus_bs_tag, src, SRC_CONTROL_REG, val);
 
 	armv7_sev();
 



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