]> git.baikalelectronics.ru Git - uboot.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)
commit6be3a7b5cdf9c497176d91a39b4d13cfb6552e6f
tree28a07a8f9336d9b5b8aa202e271ae00e1f311949
parentb7081c43d382869f598ad504a7b4ca4381b29f50
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