Igor Kovalenko wrote:
For arm and ppc we have {virt,size,phys,mode} documented in proposed platform bindings. http://playground.sun.com/1275/bindings/arm/arm0_3d.html#34579 http://playground.sun.com/1275/bindings/ppc/release/ppc-2_1.html#REF34579
For sparc there seems to be no such proposal, and linux uses {virt,size,mode}
Right. If this property is platform-specific then it would make sense that the function to generate the translations property should be moved into arch/foo/ofmem_*.c and ofmem_common.c updated to use an architecture-specific callback instead.
ATB,
M-D.