[U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

Pavel Machek
2012-08-30T17:20:22Z

On Wed 2012-08-29 17:03:22, Tom Rini wrote:
> On 08/29/2012 04:34 PM, Pavel Machek wrote:
> > On Wed 2012-08-29 11:26:45, Tom Rini wrote:
> >> On Wed, Aug 29, 2012 at 03:41:54PM +0200, Pavel Machek wrote:
> >>> Hi!
> >>>
> >>>>> diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
> >>>>
> >>>> You should setup MEMORY declarations like the other u-boot-spl linker
> >>>> scripts do so we get build-time confirmation that we haven't exceeded
> >>>> our size limitations.
> >>>
> >>> Hmm, I tried, but I don't know socfpga memory layout by heart.
> >>>
> >>> Dinh, can you help here?
> >>
> >> I think once you get the answers you should be able to re-post the
> >> series cleanly and depend on my v5 (or v6) branch. Thanks!
> >
> > Porting it to your v5 was easy :-). Newer patch for review is attached.
> >
> > I took oportunity to cleanup whitespace in
> > arch/arm/cpu/armv7/omap-common/u-boot-spl.lds. Perhaps someone can
> > merge that...
>
> Split it out and I'll grab it for v6. Thanks! Comments sent to the
> other part of the thread just now.

Here you go. Thanks!
Pavel
--

Fix whitespace in omap-common/u-boot-spl.lds.

Signed-off-by: Pavel Machek <pavel@denx.de>

diff --git a/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds b/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
index 8867e06..1d8efb2 100644
--- a/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
+++ b/arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
@@ -37,9 +37,9 @@ SECTIONS
{
.text :
{
- __start = .;
- arch/arm/cpu/armv7/start.o (.text)
- *(.text*)
+ __start = .;
+ arch/arm/cpu/armv7/start.o (.text)
+ *(.text*)
} >.sram

. = ALIGN(4);

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html