Skip to content
Snippets Groups Projects
Commit 14d54dec authored by Alison Wang's avatar Alison Wang Committed by York Sun
Browse files

arm: spl: Add I2C linker list in generic .lds


On LS1, DDR is initialized by reading SPD through I2C interface
in SPL code. For I2C, ll_entry_count() is called, and it returns
the number of elements of a linker-generated array placed into
subsection of .u_boot_list section specified by _list argument.
So add I2C linker list in the generic .lds to fix the issue about
using I2C in SPL.

Signed-off-by: default avatarAlison Wang <alison.wang@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 45c2e480
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,9 @@ SECTIONS
}
. = ALIGN(4);
.u_boot_list : {
KEEP(*(SORT(.u_boot_list*_i2c_*)));
}
. = .;
#ifdef CONFIG_SPL_DM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment