I just found that the mx3fb driver uses:

static inline u32 reg_read(unsigned long reg)
{
        return __REG(reg);
}

static inline void reg_write(u32 value, unsigned long reg)
{
        __REG(reg) = value;
}

I am about to change this to readl() and writel(), should I do it in a 
separate 'cosmetic only' patch before the really thing?
As it is more or less a re-write anyway (350 of 900 lines changed), it 
think its probably ok to do it in one shot.

Helmut


--
Scanned by MailScanner.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to