I'm wondering if IMAP_ADDR is a virtual address or a physical one. Normally I see things like this in drivers:
static volatile immap_t *immr = (immap_t *) IMAP_ADDR; It seems therefore a virtual address. But I can see the same also in some u-boot code where I imagine we are accessing physical addresses. Clear my doubt please!! Bye,