linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Haruki Dai-r35557 <Dai.Haruki@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] Fix MPC8548CDS rebooting procedure
Date: Wed, 8 Mar 2006 12:33:09 -0600	[thread overview]
Message-ID: <460DF565-EE39-4D93-8766-AF8ACBF2975D@kernel.crashing.org> (raw)
In-Reply-To: <18AEF66AFDF06F4CAAA1D419D000FD332ECDA6@az33exm24.fsl.freescale.net>


On Mar 8, 2006, at 11:22 AM, Haruki Dai-r35557 wrote:

> This patch fixes the MPC8548 CDS rebooting procedure.
> Without this patche, issuing reboot from shell doesn't reboot the
> machine.
>
> Signed-off-by: Dai Haruki <dai.haruki@freescale.com>

Dai, I'm avoid taking patches for 85xx that effect new  
functionality.  If you want change this to work with arch/powerpc and  
make it a run time check for 8548.

- kumar

> ---
>
>  arch/ppc/syslib/ppc85xx_setup.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> 8f095006923385c3546165b0e10d73d3e057c120
> diff --git a/arch/ppc/syslib/ppc85xx_setup.c
> b/arch/ppc/syslib/ppc85xx_setup.c
> index e4dda43..45b1b2b 100644
> --- a/arch/ppc/syslib/ppc85xx_setup.c
> +++ b/arch/ppc/syslib/ppc85xx_setup.c
> @@ -115,6 +115,11 @@ mpc85xx_early_serial_map(void)
>  void
>  mpc85xx_restart(char *cmd)
>  {
> +#ifdef CONFIG_MPC8548
> +	volatile unsigned int *rstcr;
> +	u32 *pMem = (u32*) ioremap((BOARD_CCSRBAR + 0xe00b0),0x100);
> +	*pMem = 0x2; /* Set HRESET_REQ flag */
> +#endif
>  	local_irq_disable();
>  	abort();
>  }
> -- 
> 1.2.4
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

  reply	other threads:[~2006-03-08 18:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 17:22 [PATCH] Fix MPC8548CDS rebooting procedure Haruki Dai-r35557
2006-03-08 18:33 ` Kumar Gala [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-08 19:24 Haruki Dai-r35557
2006-03-09  3:13 ` Kumar Gala
2006-03-09  4:16 Haruki Dai-r35557

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=460DF565-EE39-4D93-8766-AF8ACBF2975D@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=Dai.Haruki@freescale.com \
    --cc=linuxppc-dev@ozlabs.org \
    /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).