[PATCH v4 30/42] dm: core: Use separate priv/plat data region
Simon Glass
sjg at chromium.org
Wed Mar 17 02:28:17 CET 2021
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 <sjg at chromium.org>
---
(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!
More information about the U-Boot
mailing list