summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 07:25:44 +0300
committerSimon Glass <sjg@chromium.org>2021-03-26 07:03:09 +0300
commit72db28ee6833ee2bd1ce6dd9148f49538409c58c (patch)
treed3c1ba361079140863953c4e381551d504510cfa /arch/x86
parent34f73c9136b626893c7d338eb4f62f913dc311c9 (diff)
downloadu-boot-72db28ee6833ee2bd1ce6dd9148f49538409c58c.tar.xz
x86: Define a region for device priv/plat data
Collect this together in one place, so driver model can access set it up in a new place if needed. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/u-boot-spl.lds8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/cpu/u-boot-spl.lds b/arch/x86/cpu/u-boot-spl.lds
index b82e53ab12..4a655bf9b5 100644
--- a/arch/x86/cpu/u-boot-spl.lds
+++ b/arch/x86/cpu/u-boot-spl.lds
@@ -33,6 +33,14 @@ SECTIONS
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
. = ALIGN(4);
+
+ .priv_data : {
+ __priv_data_start = .;
+ *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.priv_data*)))
+ __priv_data_end = .;
+ }
+
+ . = ALIGN(4);
.data : { *(.data*) }
. = ALIGN(4);