]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ramoops: use DT reserved-memory bindings
authorKees Cook <keescook@chromium.org>
Sat, 30 Jul 2016 01:11:32 +0000 (18:11 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 5 Aug 2016 18:21:36 +0000 (11:21 -0700)
commit529182e204db083cb7bda832d1c5c6d9278ba1cb
treeb923eedd4b5a1e2d6cdda1af5c8bfd3b18b17189
parentf38d2e5313f0af9d9b66c02a5d49c71deb994b85
ramoops: use DT reserved-memory bindings

Instead of a ramoops-specific node, use a child node of /reserved-memory.
This requires that of_platform_device_create() be explicitly called
for the node, though, since "/reserved-memory" does not have its own
"compatible" property.

Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/misc/ramoops.txt [deleted file]
Documentation/devicetree/bindings/reserved-memory/ramoops.txt [new file with mode: 0644]
Documentation/ramoops.txt
drivers/of/platform.c
fs/pstore/ram.c