
14 May
2009
14 May
'09
12:26 p.m.
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.