Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2012 07:55:49 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240549 - head/sys/arm/tegra
Message-ID:  <201209160755.q8G7tnMH036332@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sun Sep 16 07:55:49 2012
New Revision: 240549
URL: http://svn.freebsd.org/changeset/base/240549

Log:
  The cpu_reset function is noreturn, make sure this is true on Tegra 2.
  While here fix a typo.

Modified:
  head/sys/arm/tegra/common.c

Modified: head/sys/arm/tegra/common.c
==============================================================================
--- head/sys/arm/tegra/common.c	Sun Sep 16 06:44:58 2012	(r240548)
+++ head/sys/arm/tegra/common.c	Sun Sep 16 07:55:49 2012	(r240549)
@@ -47,9 +47,11 @@ void
 cpu_reset(void)
 {
 	bus_space_handle_t bsh;
-	printf("Restetting...\n");
+	printf("Resetting...\n");
 	bus_space_map(fdtbus_bs_tag,TEGRA2_CLK_RST_PA_BASE, 0x1000, 0, &bsh);
 	bus_space_write_4(fdtbus_bs_tag, bsh, 4, 4);
+
+	while(1);
 }
 
 struct fdt_fixup_entry fdt_fixup_table[] = {



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