
On Thu, Jul 11, 2013 at 06:14:11PM +0200, Albert ARIBAUD wrote:
On Thu, 11 Jul 2013 18:08:59 +0200, Albert ARIBAUD albert.u.boot@aribaud.net wrote:
Hi Tom,
On Thu, 11 Jul 2013 11:54:09 -0400, Tom Rini trini@ti.com wrote:
The new in the patch board/ti/am335x/u-boot.lds needed to be re-synced with arch/arm/cpu/u-boot.lds again.
Actually, I wonder why so many ARM .lds files need to exist at all, when arch/arm/cpu/u-boot[-spl].lds could be used most of the time. I suspect that the main reason for custom .lds files is ad hoc MEMORY declarations, which could easily be commonalized through adequate preprocessing.
... well here the only difference with arch/arm/cpu/u-boot.lds is the addition of board/ti/am335x/libam335x.o right after start.o but this should probably also be manageable in arch/arm/cpu/u-boot.lds.
Right. And this is a hard requirement (rather than "lets try and optimize around flash sectors for least waste) for NOR to work.