help with ASM commands

Hi everyone

I am working on the I.MX21 processor and i need to enable the I-Cache.

I have found the following code that states to enable the I-Cache

//enable I-cache

asm(" MRC p15, 0, r0, c1, c0, 0");

asm(" ORR r0, r0, #0x1000"); //bit 12 is ICACHE enable

asm(" MCR p15, 0, r0, c1, c0, 0");

// Flush instruction cache

asm(" MCR p15, 0, r0, c7, c5, 0");

how do i make this work with OPENOCD ?