You can reference to BSP file "linux/arch/arm/mach-mx28/pm.c", function do_standby().
There is reference code to put some function into iRAM.
iram_virtual_addr = iram_alloc(MAX_POWEROFF_CODE_SIZE, &iram_phy_addr);
memcpy(iram_virtual_addr, mx28_cpu_standby, mx28_standby_alloc_sz);
mx28_cpu_standby_ptr = iram_virtual_addr;
mx28_cpu_standby_ptr();
iram_free(iram_phy_addr, MAX_POWEROFF_CODE_SIZE);