svn commit: r240549 - head/sys/arm/tegra

Andrew Turner andrew at FreeBSD.org
Sun Sep 16 07:55:50 UTC 2012


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[] = {


More information about the svn-src-all mailing list