mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
sandbox: 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>
This commit is contained in:
parent
baf0371883
commit
d5cc19288e
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ SECTIONS
|
|||
KEEP(*(SORT(.u_boot_list*)));
|
||||
}
|
||||
|
||||
/* Private data for devices with OF_PLATDATA_RT */
|
||||
. = ALIGN(4);
|
||||
.priv_data : {
|
||||
__priv_data_start = .;
|
||||
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.priv_data*)))
|
||||
__priv_data_end = .;
|
||||
}
|
||||
|
||||
__u_boot_sandbox_option_start = .;
|
||||
_u_boot_sandbox_getopt : { KEEP(*(.u_boot_sandbox_getopt)) }
|
||||
__u_boot_sandbox_option_end = .;
|
||||
|
|
Loading…
Reference in a new issue