[U-Boot] [PATCH] cmd_ide: Convert to [read,write][b,w]
Albert ARIBAUD
albert.aribaud at free.fr
Thu Jul 1 02:44:01 CEST 2010
Le 01/07/2010 02:09, Marek Vasut a écrit :
>>>> common/cmd_ide.c | 22 +++++++++++++---------
>>>> 1 files changed, 13 insertions(+), 9 deletions(-)
>>>
>>> I don't see the big advantage of this patch yet.
>>
>> It won't compile at least on ARM. Same case as with the dm9000 ethernet
>> adapter.
>>> What are the exact advantages of your version?
>>
>> That it actually compiles and works on other architectures than ppc.
> Any updates ?
Actually I've compiled cmd_ide.c for ARM -- I just sent a patchset for
this. Required me to #define __io in my board's config, and also to
#define CONFIG_IDE_SWAP_IO, a new configuration option which replaces
the complex conditionals on __PPC__ et al.
Amicalement,
--
Albert.
More information about the U-Boot
mailing list