Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Daniel Laird <daniel.j.laird@nxp.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] Philips(NXP)/STB810 changes
Date: Thu, 21 Jun 2007 15:57:42 +0400	[thread overview]
Message-ID: <467A67B6.6090909@ru.mvista.com> (raw)
In-Reply-To: <11229250.post@talk.nabble.com>

Hello.

Daniel Laird wrote:

> We have found the following changes are necessary for the Philips(NXP)/STB810
> platform

> Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com> 

> --- kernel/arch/mips/philips/pnx8550/common/setup.c
> +++ kernel-new/arch/mips/philips/pnx8550/common/setup.c 
> @@ -100,11 +100,29 @@
>  
>  	board_setup();  /* board specific setup */
>  
> -        _machine_restart = pnx8550_machine_restart;
> -        _machine_halt = pnx8550_machine_halt;
> -        pm_power_off = pnx8550_machine_power_off;
> +    _machine_restart = pnx8550_machine_restart;
> +    _machine_halt = pnx8550_machine_halt;
> +    pm_power_off = pnx8550_machine_power_off;

> +	board_time_init = pnx8550_time_init;

> -	board_time_init = pnx8550_time_init;

    What is changed here beside the tab being converted to 4 spaces for no 
reason? This violates kernel style and so is not acceptable.

> +    /* Setup CMEM Registers */
> +    /* CMEM0 = MMIO */
> +    write_c0_diag4((0x1be00000 & PR4450_CMEMF_BBA) |
> +                   (PR4450_CMEM_SIZE_2MB << PR4450_CMEMB_SIZE) |
> +                   (1 << PR4450_CMEMB_VALID));
> +
> +    /* CMEM1 = XIO */
> +    write_c0_diag5((0x10000000 & PR4450_CMEMF_BBA) |
> +                   (PR4450_CMEM_SIZE_128MB << PR4450_CMEMB_SIZE) |
> +                   (1 << PR4450_CMEMB_VALID));
> +
> +    /* CMEM2 = PCI */
> +    write_c0_diag6((0x20000000 & PR4450_CMEMF_BBA) |
> +                   (PR4450_CMEM_SIZE_128MB << PR4450_CMEMB_SIZE) |
> +                   (1 << PR4450_CMEMB_VALID));
> +
> +    /* CMEM3 = Not used */
> +    write_c0_diag7(0);

    Please indent these properly too.

>  
>  	/* Clear the Global 2 Register, PCI Inta Output Enable Registers
>  	   Bit 1:Enable DAC Powerdown

> Cheers
> Dan Laird

WBR, Sergei

  reply	other threads:[~2007-06-21 11:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21  9:02 [PATCH] Philips(NXP)/STB810 changes Daniel Laird
2007-06-21 11:57 ` Sergei Shtylyov [this message]
2007-06-21 12:37   ` Daniel Laird
2007-06-21 14:27     ` Ralf Baechle
2007-06-22  6:33       ` Daniel Laird
2007-06-22  6:41         ` Daniel Laird
2007-06-27 12:58           ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2007-06-27 14:19 Daniel Laird

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=467A67B6.6090909@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=daniel.j.laird@nxp.com \
    --cc=linux-mips@linux-mips.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