public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Gray Remlin <gryrmln@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Kirkwood: SATA supports only one device per bus
Date: Wed, 30 Mar 2011 13:58:38 +0100	[thread overview]
Message-ID: <4D9328FE.7040105@gmail.com> (raw)
In-Reply-To: <4D930B22.9030605@free.fr>

On 03/30/2011 11:51 AM, Albert ARIBAUD wrote:
> Hi Gray,
>
> Le 29/03/2011 21:42, Gray Remlin a ?crit :
>> Change CONFIG_SYS_IDE_MAXDEVICE from 2 to 1
>>
>> Signed-off-by: Gray Remlin<gryrmln@gmail.com>
>> ---
>>    arch/arm/include/asm/arch-kirkwood/config.h |    3 ++-
>>    1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/arm/include/asm/arch-kirkwood/config.h b/arch/arm/include/asm/arch-kirkwood/config.h
>> index 71ba464..f582ba4 100644
>> --- a/arch/arm/include/asm/arch-kirkwood/config.h
>> +++ b/arch/arm/include/asm/arch-kirkwood/config.h
>> @@ -128,7 +128,8 @@
>>    #define CONFIG_LBA48
>>    /* CONFIG_CMD_IDE requires some #defines for ATA registers */
>>    #define CONFIG_SYS_IDE_MAXBUS		2
>> -#define CONFIG_SYS_IDE_MAXDEVICE	2
>> +/* Only one device per bus on SATA */
>> +#define CONFIG_SYS_IDE_MAXDEVICE	1
>>    /* ATA registers base is at SATA controller base */
>>    #define CONFIG_SYS_ATA_BASE_ADDR	MV_SATA_BASE
>>    #endif /* CONFIG_CMD_IDE */
> Did you cross-check this patch with Rogan's recent patch?
>
> <http://patchwork.ozlabs.org/patch/87501/>
>
> Amicalement,
No, this patch does not take Rogan's recent patch into consideration.

Rogan's patch does not address issues such as (from cmd_ide.c)

'array[CONFIG_SYS_IDE_MAXDEVICE]'

'for (i=0; i<CONFIG_SYS_IDE_MAXDEVICE; ++i)'

which will still be incorrect and will need to be patched up.

  reply	other threads:[~2011-03-30 12:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 19:42 [U-Boot] [PATCH] Kirkwood: SATA supports only one device per bus Gray Remlin
2011-03-30 10:51 ` Albert ARIBAUD
2011-03-30 12:58   ` Gray Remlin [this message]
2011-03-30 11:17 ` Prafulla Wadaskar
  -- strict thread matches above, loose matches on Subject: below --
2011-03-30 11:21 Prafulla Wadaskar
2011-03-30 13:50 ` Gray Remlin
2011-03-30 18:59   ` Prafulla Wadaskar
2011-03-30 19:51     ` 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=4D9328FE.7040105@gmail.com \
    --to=gryrmln@gmail.com \
    --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