__ioremap in physmem.c
Ashwin
ashwinp at aftek.com
Thu Jun 21 08:25:17 EDT 2001
Hi friends,
I am trying to get the mtd working on the L7205 board. I am getting the
following problem.
The __ioremap() call in physmem.c calls the function with only two
parameters but the __ioremap() in the kernel expects 3 parmaters while only
2 are passed the third i.e flag is not sent. What should be the flag to this
call and the significance of the flag ?
Another thing is that if I send the flag as zero the call does not return it
gives the error "bad pmd in pte_allocl_kernel".
Also what should be the macros for the functions readb,writeb,...... for
L7205 board at present I have put just printk's there or do I use the macros
in include/asm-arm/arch-linkup/io.h but they seem to be io calls (am I
correct ?)
Could any one please guide me ?
Thanks,
Regards,
Ashwin.
More information about the linux-mtd
mailing list