All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MIPS: Add CONFIG_SKIP_LOWLEVEL_INIT
Date: Wed, 19 Nov 2008 23:57:46 +0900	[thread overview]
Message-ID: <4924296A.30700@ruby.dti.ne.jp> (raw)
In-Reply-To: <1227022582-10094-1-git-send-email-sr@denx.de>

Stefan Roese wrote:
> This patch adds the CONFIG_SKIP_LOWLEVEL_INIT option to start.S. This
> enables support for boards where the lowlevel initialization is
> already done when U-Boot runs (e.g. via OnChip ROM).
> 
> This will be used in the upcoming VCTH board support.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>

Acked-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>


> ---
>  cpu/mips/start.S |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/cpu/mips/start.S b/cpu/mips/start.S
> index 0a69109..57db589 100644
> --- a/cpu/mips/start.S
> +++ b/cpu/mips/start.S
> @@ -243,9 +243,11 @@ reset:
>  	mtc0	zero, CP0_COUNT
>  	mtc0	zero, CP0_COMPARE
>  
> +#if !defined(CONFIG_SKIP_LOWLEVEL_INIT)
>  	/* CONFIG0 register */
>  	li	t0, CONF_CM_UNCACHED
>  	mtc0	t0, CP0_CONFIG
> +#endif /* !CONFIG_SKIP_LOWLEVEL_INIT */
>  
>  	/* Initialize $gp.
>  	 */
> @@ -255,6 +257,7 @@ reset:
>  1:
>  	lw	gp, 0(ra)
>  
> +#if !defined(CONFIG_SKIP_LOWLEVEL_INIT)
>  	/* Initialize any external memory.
>  	 */
>  	la	t9, lowlevel_init
> @@ -271,6 +274,7 @@ reset:
>  	 */
>  	li	t0, CONF_CM_CACHABLE_NONCOHERENT
>  	mtc0	t0, CP0_CONFIG
> +#endif /* !CONFIG_SKIP_LOWLEVEL_INIT */
>  
>  	/* Set up temporary stack.
>  	 */

      reply	other threads:[~2008-11-19 14:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18 15:36 [U-Boot] [PATCH] MIPS: Add CONFIG_SKIP_LOWLEVEL_INIT Stefan Roese
2008-11-19 14:57 ` Shinya Kuribayashi [this message]

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=4924296A.30700@ruby.dti.ne.jp \
    --to=skuribay@ruby.dti.ne.jp \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.