public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hebbar <gururajakr@sanyo.co.in>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] ARM926: compile cpu_init_crit function only if CONFIG_SKIP_LOWLEVEL_INIT is not defined
Date: Wed, 13 Feb 2008 16:19:43 -0800 (PST)	[thread overview]
Message-ID: <15471298.post@talk.nabble.com> (raw)
In-Reply-To: <20080213235953.9EBBD243A7@gemini.denx.de>


Hi,

I went through "cpu/arm920t/start.S" file and found that this is what this
patch is doing. 

This patch places the entire cpu_init_crit function definition inside ifndef
same as in arm920t/start.S.

Sorry if i havent understood you.

Present cpu/arm926ejs/start.S

_start_armboot:
	.word start_armboot

                                            -----> This is where i have
placed #ifndef CONFIG_SKIP_LOWLEVEL_INIT 
/*
 *************************************************************************
 *
 * CPU_init_critical registers
 *
 * setup important registers
 * setup memory timing
 *
 *************************************************************************
 */


cpu_init_crit:
	/*
	 * flush v4 I/D caches
	 */
	mov	r0, 

<snip>
<snip>
<snip>
<snip>


	bl	lowlevel_init	/* go setup pll,mux,memory */
	mov	lr, ip		/* restore link */
	mov	pc, lr		/* back to my caller */
/*                                                                                               
----> here is the #endif 
 *************************************************************************
 *
 * Interrupt handling
 *
 *************************************************************************
 */


Regards
Gururaja


wd wrote:
> 
> In message <15281823.post@talk.nabble.com> you wrote:
> 
> 
> I don't think you answer my question:
> 
>> I'm not sure about this one. Probably the whole  cpu_init_crit:  part
>> should be placed inside the "#ifndef CONFIG_SKIP_LOWLEVEL_INIT" part,
>> as it is done for example in "cpu/arm920t/start.S" ?
> 
> ?
> 
> Best regards,
> 
> Wolfgang Denk
> 
> 

-- 
View this message in context: http://www.nabble.com/-PATCH--ARM926%3A-compile-cpu_init_crit-function-only-if-CONFIG_SKIP_LOWLEVEL_INIT-is-not-defined-tp14408413p15471298.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

  reply	other threads:[~2008-02-14  0:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 23:52 [U-Boot-Users] [PATCH] ARM926: compile cpu_init_crit function only if CONFIG_SKIP_LOWLEVEL_INIT is not defined Hebbar
2007-12-18 23:59 ` Hebbar
2007-12-19  6:27   ` Dirk Behme
2008-02-04 22:38   ` Wolfgang Denk
2008-02-05  1:32     ` Hebbar
2008-02-13 23:59       ` Wolfgang Denk
2008-02-14  0:19         ` Hebbar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-19  8:48 Gururaja Hebbar K R
2007-12-19  8:58 ` Dirk Behme

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=15471298.post@talk.nabble.com \
    --to=gururajakr@sanyo.co.in \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox