]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Define a region for device priv/plat data
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:44 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
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>
arch/x86/cpu/u-boot-spl.lds

index b82e53ab1240dc393c943d111d859061d7b2d8c7..4a655bf9b5980d8d862ca4bf369c3abc02946c7e 100644 (file)
@@ -32,6 +32,14 @@ SECTIONS
        . = ALIGN(4);
        .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*) }