All of lore.kernel.org
 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 11:32:58 +0200	[thread overview]
Message-ID: <4C9B1ECA.4050809@free.fr> (raw)
In-Reply-To: <F766E4F80769BD478052FB6533FA745D19A696DD8B@SC-VEXCH4.marvell.com>

Hi Prafulla,

Le 23/09/2010 11:16, Prafulla Wadaskar a ?crit :

>> +/* Disable window 7, configure it for FLASH, enable it. */
>
> Can you pls fix the ordering here so that win6/7 appears last in the code?

Of course.

>> @@ -265,6 +283,8 @@ int arch_misc_init(void)
>>   	writel(ORION5X_MPP16_23, ORION5X_MPP_BASE+0x50);
>>   	writel(ORION5X_GPIO_OUT_ENABLE, ORION5X_GPIO_BASE+0x04);
>>
>> +	/* initialize timer */
>> +	timer_init_r();
>
> Using CONFIG_MISC_INIT_R in the board configuration makes more sense here
> And you can put this function in timer.c only and avoid exporting API through cpu.h

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.

>> \ No newline at end of file
>
> Pls fix this

Will do.

> Regards..
> Prafulla . .

Thanks!

Amicalement,
-- 
Albert.

  reply	other threads:[~2010-09-23  9:32 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 [this message]
2010-09-23 16:28     ` Albert ARIBAUD

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=4C9B1ECA.4050809@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 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.