public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code
Date: Thu, 23 Sep 2010 18:28:27 +0200	[thread overview]
Message-ID: <4C9B802B.3080601@free.fr> (raw)
In-Reply-To: <4C9B1ECA.4050809@free.fr>

Le 23/09/2010 11:32, Albert ARIBAUD a ?crit :

> Ok for misc_init_r() rather than arch_misc_init(). However I think this
> function is not timer-specific and thus belongs more to cpu.c than timer.c.

Following-up on myself: according to a find on the whole u-boot tree, 
misc_init_r is uniformously used from board directories, which makes it 
a de facto board-specific, not SoC-specific, init function, whereas 
arch_misc_init is only used in SoC directories -- only by orion5x and 
kirkwood, actually :) -- which makes it a de facto SoC init function.

As the timer_init_r code is SoC-, not board-, specific, I think it 
belongs more to arch_misc_init and to misc_init_r.

Amicalement,
-- 
Albert.

      reply	other threads:[~2010-09-23 16:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-21 19:35 [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code Albert Aribaud
2010-09-21 19:35 ` [U-Boot] [PATCH 2/2] [NEXT] edminiv2: enable relocation Albert Aribaud
2010-09-22  9:13   ` Sergei Shtylyov
2010-09-22  9:38     ` Albert ARIBAUD
2010-09-23  9:16 ` [U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code Prafulla Wadaskar
2010-09-23  9:32   ` Albert ARIBAUD
2010-09-23 16:28     ` Albert ARIBAUD [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=4C9B802B.3080601@free.fr \
    --to=albert.aribaud@free.fr \
    --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