From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 17 Mar 2021 01:28:17 +0000 Subject: [PATCH v4 30/42] dm: core: Use separate priv/plat data region In-Reply-To: <20210315172537.v4.30.I86e4b25d96e9bbe532edfe8a4060fdf081767841@changeid> References: <20210315172537.v4.30.I86e4b25d96e9bbe532edfe8a4060fdf081767841@changeid> <20210315042553.1932494-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Make use of the new priv/plat data region if enabled. This is implemented as a simple offset from the position set up by dtoc to the new position. So long as all access goes through dm_priv_to_rw() this is safe. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/device.c | 12 ++++++------ drivers/core/root.c | 9 +++++++++ include/dm/util.h | 9 +++++++++ 3 files changed, 24 insertions(+), 6 deletions(-) Applied to u-boot-dm/next, thanks!