diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-15 17:25:44 +1300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-22 19:23:29 +1300 |
commit | ed7ef521b30562f5f517409fc690810da43629da (patch) | |
tree | ac570d3ee64b72d1dfd071ba3c38d1476af95fb7 | |
parent | 1b4bbf64a814018fa334b594e42b39e2417cef01 (diff) | |
download | u-boot-ed7ef521b30562f5f517409fc690810da43629da.tar.gz |
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>
-rw-r--r-- | arch/x86/cpu/u-boot-spl.lds | 8 |
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); |