Hi everybody, I noticed that the CPM2 module is accessed both through CPM_MAP_ADDR (physical address) and cpm2_immr (ioremap()ed address). For instance, the fec_enet driver configures the IO ports using (cpm2_map_t*)CPM_MAP_ADDR.
What's the correct way to access the CPM2 module ? Does ioremap() map CPM_MAP_ADDR to itself so that both ways are correct ? Laurent Pinchart