]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: spl: Add I2C linker list in generic .lds
authorAlison Wang <b18965@freescale.com>
Wed, 3 Dec 2014 07:00:43 +0000 (15:00 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 11 Dec 2014 17:38:35 +0000 (09:38 -0800)
commit14d54dec1ba55d1b12c1fe17855d2ec5fd69734e
treea765a6b861bf6f7a60fead4fa1f28979cb612b26
parent45c2e480edd5360c46f92bfb7e8ca6ac4554767f
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: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/u-boot-spl.lds