4 #define SDGENCNTA 0xfe40009c
6 /* The countdown of SDGENCNTA is controlled by
7 * ZB3D2CLK which runs at 149.5MHz.
8 * That is 149.5ticks/us. Approximate this as 150ticks/us.
10 static void udelay(int us
)
12 __raw_writel(us
* 150, SDGENCNTA
);
13 while(__raw_readl(SDGENCNTA
)) ;
16 static void msleep(int ms
)