OSDN Git Service

FROMLIST: pstore-ram: add Device Tree bindings
authorGreg Hackmann <ghackmann@google.com>
Sat, 24 Oct 2015 00:25:42 +0000 (17:25 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:54:11 +0000 (13:54 -0800)
commitb1d1b7187c11d9fc583af44376fcd7776c51a8e9
tree6f9d0be807a0b635d55ccf6a751c6b6f7f6d4e59
parent75923a6f83dca0a2af7dad0c91fe45f0961d9406
FROMLIST: pstore-ram: add Device Tree bindings

ramoops is one of the remaining places where ARM vendors still rely on
board-specific shims.  Device Tree lets us replace those shims with
generic code.

These bindings mirror the ramoops module parameters, with two small
differences:

(1) dump_oops becomes an optional "no-dump-oops" property, since ramoops
    sets dump_oops=1 by default.

(2) mem_type=1 becomes the more self-explanatory "unbuffered" property.

(am from https://lkml.org/lkml/2016/1/7/750)

Change-Id: I2140199a861d50fc2bcbbe85b16bf17fb9ccaa1d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Documentation/devicetree/bindings/misc/ramoops.txt [new file with mode: 0644]
Documentation/ramoops.txt
fs/pstore/ram.c