From: Stefan Althoefer <stefan.althoefer@web.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: add IDE init to lib_arm/board.c Part 1/1
Date: Wed, 17 Dec 2008 21:47:15 +0100 [thread overview]
Message-ID: <giboe4$7uv$1@ger.gmane.org> (raw)
In-Reply-To: <20081217143534.GI26222@game.jcrosoft.org>
Jean-Christophe PLAGNIOL-VILLARD schrieb:
> On 14:10 Wed 17 Dec , michael wrote:
>> michael wrote:
>>> Stefan Althoefer wrote:
>>>
>>>> Jean-Christophe PLAGNIOL-VILLARD schrieb:
>>>>
>>>>
>>>>
>>>>>> diff -uprN u-boot-orig//lib_arm/board.c u-boot/lib_arm/board.c
>>>>>> --- u-boot-orig//lib_arm/board.c 2008-12-02 17:25:32.000000000 +0100
>>>>>> +++ u-boot/lib_arm/board.c 2008-12-02 23:29:36.000000000 +0100
>>>>>> @@ -441,6 +441,11 @@ extern void davinci_eth_set_mac_addr (co
>>>>>> }
>>>>>> #endif
>>>>>>
>>>>>> +#if defined(CONFIG_CMD_IDE)
>>>>>> + puts("IDE: ");
>>>>>> + ide_init();
>>>>>> +#endif /* CONFIG_CMD_IDE */
>>>>>>
>>>>>>
>>>>> are you sure it will work?
>>>>>
>>>>> Best Regards,
>>>>> J.
>>>>>
>>>>>
>>>> On my board (Janz emPC-A400 with IXP425) it does. With some more
>>>> patches to add IDE to this board.
>>>>
>>>> What is your doubt?
>>>>
>>>> If you see problems, drop this. I can also add IDE to board_late_init().
>>>>
>>>>
>>> I don't sure if the outsw/insw are implemented in arm.
>>>
>>> Regards Michael
>>> _______________________________________________
>>> U-Boot mailing list
>>> U-Boot at lists.denx.de
>>> http://lists.denx.de/mailman/listinfo/u-boot
>>>
>>>
>> Well, I'm not sure :( if the outsw/insw are implemented in arm.
> IIRC they are not. I'll check but in u-boot we do not have the asm
> implementtion.
>
> Best Regards,
> J.
Indeed, I have patched ide.c so it does not use insw/outsw
if compiled for my board. Refer to patch with msg-id
<49384735.e5PYiIdAjpxLwq8V%stefan.althoefer@web.de> to see
what I did.
-- Stefan
next prev parent reply other threads:[~2008-12-17 20:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 21:09 [U-Boot] [PATCH] IXP425: Changing serial port initialization sequence Part 1/1 Stefan Althoefer
2008-12-04 21:09 ` [U-Boot] [PATCH] IXP425: Improving print_cpuinfo code " Stefan Althoefer
2008-12-04 21:08 ` [U-Boot] [PATCH] ARM: add IDE init to lib_arm/board.c " Stefan Althoefer
2008-12-16 21:58 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-16 23:19 ` Stefan Althoefer
2008-12-17 12:45 ` michael
2008-12-17 13:10 ` michael
2008-12-17 14:35 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-17 20:47 ` Stefan Althoefer [this message]
2008-12-17 7:56 ` michael
2008-12-16 21:54 ` [U-Boot] [PATCH] IXP425: Improving print_cpuinfo code " Jean-Christophe PLAGNIOL-VILLARD
2008-12-16 22:28 ` Stefan Althoefer
2008-12-16 23:18 ` Jean-Christophe PLAGNIOL-VILLARD
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='giboe4$7uv$1@ger.gmane.org' \
--to=stefan.althoefer@web.de \
--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