From: Wolfram Sang Date: Fri, 17 Jul 2009 12:39:23 +0000 (+0200) Subject: mtd: maps: add mtd-ram support to physmap_of X-Git-Tag: v2.6.32-rc1~160^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc28c39f0ef59bfb649ddfd633275be8e45c0f9c;p=pandora-kernel.git mtd: maps: add mtd-ram support to physmap_of Use physmap_of to access RAMs as mtd and add documenation for it. This approach is a lot less intrusive as adding an of-wrapper around plat-ram.c. As most extensions of plat-ram.c (e.g. custom map-functions) can't be mapped to the device tree anyhow, extending physmap_of seems to be the cleanest approach. Tested with a phyCORE-MPC5121e. Signed-off-by: Wolfram Sang Cc: Vitaly Wool Cc: Artem Bityutskiy Cc: Ken MacLeod Cc: Albrecht Dreß Acked-by: Grant Likely Signed-off-by: David Woodhouse --- Reading git-diff-tree failed