[U-Boot] [PATCH 01/10] mx27: basic cpu support

Ilya Yanok yanok at emcraft.com
Thu May 14 12:26:23 CEST 2009


Dear Wolfgang,

Wolfgang Denk wrote:
>> I see. PowerPC in Linux uses C structs too. But there are still a lot of
>> code that uses registers offsets in Linux, so my arguments are the same:
>> requirement to convert offsets to C struct brings additional
>> difficulties to porting (and maintaining already ported) drivers from Linux.
>>     
>
> I understand your argument, but the decision has been made. We want to
> get rid of this pointer stuff in U-Boot, and do not accept any new
> code like this any more.
>   

Another issue I've just faced: how we are going to access IO registers
from assembler code? I don't think we have that asm-offsets stuff in
U-Boot...

Regards, Ilya.



More information about the U-Boot mailing list