linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@netx4.com>
To: "Mark S. Mathews" <mark@absoval.com>,
	linuxppc-embedded@lists.linuxppc.org
Subject: Re: PLPRCR & Checkstop reset
Date: Tue, 27 Jun 2000 13:50:05 -0400	[thread overview]
Message-ID: <3958E94D.E55D4294@netx4.com> (raw)
In-Reply-To: 3958E040.15B86909@netx4.com

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Dan Malek wrote:

> Here is the first installment.

Let's try this again.......I will actually attach something
this time.  I am travelling and don't have access to a system
or enought documentation to attempt checkstop/reset.



	-- Dan

[-- Attachment #2: m8xx_setup.patch --]
[-- Type: text/plain, Size: 503 bytes --]

--- linux.old/arch/ppc/kernel/m8xx_setup.c	Wed Feb 16 11:43:25 2000
+++ linux/arch/ppc/kernel/m8xx_setup.c	Tue Jun 27 09:47:27 2000
@@ -228,9 +240,17 @@
 void
 m8xx_restart(char *cmd)
 {
-	extern void m8xx_gorom(void);
+	extern void m8xx_gorom(uint bp, uint startaddr);
+	uint	startaddr;
+
+	startaddr = 0xfff00100;
+
+	if (cmd != NULL) {
+		if (!strncmp(cmd, "startaddr=", 10))
+			startaddr = simple_strtoul(&cmd[10], NULL, 0);
+	}

-	m8xx_gorom();
+	m8xx_gorom((uint)__pa(res), startaddr);
 }

 void

  reply	other threads:[~2000-06-27 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-25 21:33 PLPRCR & Checkstop reset Mark S. Mathews
2000-06-26 19:13 ` Dan Malek
2000-06-27 17:41   ` Mark S. Mathews
2000-06-27 17:11 ` Dan Malek
2000-06-27 17:50   ` Dan Malek [this message]
2000-06-27 18:50     ` Jerry Van Baren
2000-06-27 19:16       ` Dan Malek
2000-06-27 19:35         ` Jerry Van Baren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3958E94D.E55D4294@netx4.com \
    --to=dan@netx4.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=mark@absoval.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).