diff options
author | Greg Hackmann <ghackmann@google.com> | 2016-01-08 00:40:56 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-06-14 20:34:39 +0200 |
commit | 35da60941e44dbf57868e67686dd24cc1a33125a (patch) | |
tree | 9c260e87ab53015553e1e254ce6872f1cd8f1032 /drivers/firmware/efi/efi.c | |
parent | efi-pstore: implement efivars_pstore_exit() (diff) | |
download | linux-35da60941e44dbf57868e67686dd24cc1a33125a.tar.xz linux-35da60941e44dbf57868e67686dd24cc1a33125a.zip |
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.
Signed-off-by: Greg Hackmann <ghackmann@google.com>
[fixed platform_get_drvdata() crash, thanks to Brian Norris]
[switched from u64 to u32 to simplify code, various whitespace fixes]
[use dev_of_node() to gain code-elimination for CONFIG_OF=n]
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/firmware/efi/efi.c')
0 files changed, 0 insertions, 0 deletions