From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966490AbcLWQSG (ORCPT ); Fri, 23 Dec 2016 11:18:06 -0500 Received: from mout.gmx.net ([212.227.17.21]:60271 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934144AbcLWQSE (ORCPT ); Fri, 23 Dec 2016 11:18:04 -0500 From: Heinrich Schuchardt To: Rob Herring , Frank Rowand Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Heinrich Schuchardt Subject: [PATCH] Documentation: devicetree: "linux,usable-memory" property Date: Fri, 23 Dec 2016 17:17:47 +0100 Message-Id: <20161223161747.9986-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.11.0 X-Provags-ID: V03:K0:j/BMW9hUC4QrTkgZcLnDdqJ7ndtHDlI9CBg3fXuLmzOxqZX6/hT 0MfDCcjfMUOiuZiwqK7vvbrH6oyFCY41RrFynppl9JeecLT9BgrhgHGSsK2hWXhI/m13JBV VWOHRWVwkVKj2BOn3ZLfkv8l0/QgrmARwrx7MqSs3WSe8eXLAv1t0K394+Ez4vJsWqQK0Ox Y8oP+eHbWK2GMGoMPH2KQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:rTvp5szrtx4=:cdJlmqoYeP0b7XqoDqjekx JSLBByzy2nhtasji8sa7MN+JsMrhHubWJijSctfw9UhlYjOQHu+E7hcii+KzwXSWxU4pI1gxv M0bNNT+2EApZv2JgajTt5DHSCgoNpVRsdqol+MrRvEUfYX68uAs7qyPS123dqc94mFbRHxCGu SF+23vIiK/9f+ZLg4IJ7xRkzeHvfyicX4VjE3o5sQa9U5SvOOcYPo+PtEcmDLM1YWcko2Y1lJ pm/O4yvJurGB8GykumhLNK4G8Nlw/SOdgmKWJ3E9xxd9/vG0lBsCGGEGG8Kr+bo0131bxpB2x 8hZrJw2saZKkceLo0ZEUMQxaJbDXSCX/iwBVPuKuI3o/tkJUzBsADyXu4QeXaqhQ4LOdfnN+C yjAV+H6TKDhNsPppILsDlNHIxOT3B0CCnEmE4dK+oN9tp9lTjDaGwicZ7YTDQObN0wV78MqE7 D1HNvt2DFZjit25Jek2m6otIoC+IntKD1SC7vpSY1sitZSqo0Ncfp9w1NnMz/jS/Uu0kbEeEm X4dfZjIJDKJt3O4fRI8oJQDWmawkVrIErlAlBckyNaRXpMYUwa3bKCO06+TFOqentbggKZ8hV HuIXtZNI/rs5d7kIIttug3Y6N7ImQGOvuoAHUvrh4tRLfWm8PjKhujRFWAp3/oOFjeXTqip9w +zGUkOkRxL+3i0SnhwFRmDU6dadOQkako0twG/7yN3KfIQHRXshkLNFFW9vPJnVLPvhesNWd0 H++j+OFCEZEcnb/zLta0FUWYmJaQAlmfxxPtqnrIu3HNGOH4VTQNEVDKkDQHitbk3Qe5H+KZI 9jKxyP8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Memory nodes may have a "linux,usable-memory" property overriding the reg property. This patch adds the missing documentation. Signed-off-by: Heinrich Schuchardt --- Documentation/devicetree/booting-without-of.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/booting-without-of.txt b/Documentation/devicetree/booting-without-of.txt index 280d283304bb..92712c5604b0 100644 --- a/Documentation/devicetree/booting-without-of.txt +++ b/Documentation/devicetree/booting-without-of.txt @@ -981,6 +981,10 @@ compatibility. removed later. The kernel can take this into consideration when doing nonmovable allocations and when laying out memory zones. + - linux,usable-memory : This property overrides the reg property. + It can be used if the bootloader changes the reg property to + improper values. + e) The /chosen node This node is a bit "special". Normally, that's where Open Firmware -- 2.11.0