On Wednesday 23 April 2014 18:28:47 Peter Griffin wrote:
From: Arnd Bergmann arnd@arndb.de
The omap lcdc driver has an elaborate mmap_kern function to map the frame buffer into kernel address space as write-combined. This uses functions that are only available on MMU-enabled builds.
It does seem equivalent to ioremap_wc though, so we should be able to just use that instead.
Signed-off-by: Arnd Bergmann arnd@arndb.de Signed-off-by: Peter Griffin peter.griffin@linaro.org Cc: Jean-Christophe Plagniol-Villard plagnioj@jcrosoft.com Cc: Tomi Valkeinen tomi.valkeinen@ti.com Cc: linux-fbdev@vger.kernel.org Cc: linux-omap@vger.kernel.org
You couldn't have guessed this, but the description should probably be extended with this sentence:
| This patch is build-tested only, it needs to be run on real | hardware before applying.
Tomi is also the maintainer of the omap driver, so hopefully he will be able to test it.
Arnd