#define GPIO_ADAT 0xB01C0000 + 0x00000008
//----------------------------------------------- static inline INT32U act_readl(unsigned long port) { return (*(volatile INT32U *)port); } //----------------------------------------------- void static inline act_writel(unsigned long val, int reg) { *(volatile unsigned long *)(reg) = val; } //----------------------------------------------- act_writel(act_readl(GPIO_ADAT) | 0X1<<16, GPIO_ADAT);
|