misc: sram: add Atmel securam support
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 21 Sep 2016 22:09:38 +0000 (00:09 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 7 Nov 2016 22:43:28 +0000 (23:43 +0100)
commit2ae2e28852f21ec9efc527c1f3ecc5f7c7e27e42
tree9328c57e974cc1742dda5f7e74f7a45546bd5b46
parent15adffadc59b0430a5e411eb149c39547fc207ce
misc: sram: add Atmel securam support

The Atmel secure SRAM is connected to a security module and may be erased
automatically under certain conditions. For that reason, it is necessary to
wait for the security module to flag that SRAM accesses are allowed before
accessing it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sram.c