]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Allow storing priv/plat data separately
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:38 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
commitbaf0371883b243fa793ba3f984704b027705d6a9
tree28a07a8f9336d9b5b8aa202e271ae00e1f311949
parent6f644efdd803e0718d39266f75c0535a534cc601
dm: core: Allow storing priv/plat data separately

At present the device priv/data data allocated by dtoc is stored in the
data section along with other variables. On some platforms it is better
to allocate space for it separately, e.g. if SPL is running from read-only
memory.

Create a new space with the same size as that allocated by dtoc, ready for
use.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c
include/asm-generic/global_data.h
include/asm-generic/sections.h