]> git.baikalelectronics.ru Git - kernel.git/commit
misc: sram: add optional ioremap without write combining
authorMarcin Wojtas <mw@semihalf.com>
Mon, 14 Mar 2016 08:38:56 +0000 (09:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 16:19:45 +0000 (12:19 -0400)
commitfa146668dcd644e2866bdfff481fe36eae57739c
treeb56f01e32ba60c6ddeeb983d2e114c351bc602af
parent484c5fbd990585a45c46cfdddca16f32b05b2a4d
misc: sram: add optional ioremap without write combining

Some SRAM users may require non-bufferable access to the memory, which is
impossible, because devm_ioremap_wc() is used for setting sram->virt_base.

This commit adds optional flag 'no-memory-wc', which allow to choose remap
method, using DT property. Documentation is updated accordingly.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/sram/sram.txt
drivers/misc/sram.c