- A_PRINTF("0x4001C %p ......\n", HAL_WORD_REG_READ(0x4001c));
- A_PRINTF("0x40040 %p ......\n", HAL_WORD_REG_READ(0x40040));
-
- // turn off pcie_pll - power down (bit16)
- A_PRINTF(" before pwd PCIE PLL CFG:0x5601C %p ......\n", HAL_WORD_REG_READ(0x5601C));
- HAL_WORD_REG_WRITE(0x5601C, (HAL_WORD_REG_READ(0x5601C)|(BIT18)));
- A_PRINTF(" after pwd PCIE PLL CFG:0x5601C %p ......\n", HAL_WORD_REG_READ(0x5601C));
+ A_PRINTF("0x4001C %p ......\n", ioread32(0x4001c));
+ A_PRINTF("0x40040 %p ......\n", ioread32(0x40040));
+
+ /* turn off pcie_pll - power down (bit16) */
+ A_PRINTF(" before pwd PCIE PLL CFG:0x5601C: 0x%08x\n",
+ ioread32(0x5601C));
+ io32_set(0x5601C, BIT18);
+ A_PRINTF(" after pwd PCIE PLL CFG:0x5601C: 0x%08x\n",
+ ioread32(0x5601C));