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

Reply via email to