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>
Showing
- Documentation/devicetree/bindings/reserved-memory/ramoops.txt 4 additions, 4 deletions...mentation/devicetree/bindings/reserved-memory/ramoops.txt
- Documentation/ramoops.txt 27 additions, 11 deletionsDocumentation/ramoops.txt
- drivers/of/platform.c 18 additions, 2 deletionsdrivers/of/platform.c
- fs/pstore/ram.c 7 additions, 16 deletionsfs/pstore/ram.c
Please register or sign in to comment