]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Use separate priv/plat data region
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:40 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
commit6101e514e5e94a2de4c418336f6d40aef89c040f
tree9852a1cb811d66aef1cb045cc28679efe4b90105
parent73beaf488347a8ce33654d2219cad7c92f2f85ca
dm: core: Use separate priv/plat data region

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@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/root.c
include/dm/util.h