From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Mon, 25 Jul 2011 14:46:55 +0400 Subject: [U-Boot] [PATCH 3/9 v3] integratorap: support relocation In-Reply-To: <1311428278-14807-1-git-send-email-linus.walleij@linaro.org> References: <1311428278-14807-1-git-send-email-linus.walleij@linaro.org> Message-ID: <4E2D499F.5010301@mvista.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello. On 23-07-2011 17:37, Linus Walleij wrote: > The integrator board was apparently never converted over to support > relocation until now. After this the integrator u-boot both compiles > and boots on the Integrator AP. > Signed-off-by: Linus Walleij > --- > board/armltd/integrator/integrator.c | 14 ++++++++------ > 1 files changed, 8 insertions(+), 6 deletions(-) > diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c > index 9bb56b5..a0d8de7 100644 > --- a/board/armltd/integrator/integrator.c > +++ b/board/armltd/integrator/integrator.c > @@ -86,14 +86,16 @@ int misc_init_r (void) > return (0); > } > > -/****************************** > - Routine: > - Description: > -******************************/ > -int dram_init (void) > +void dram_init_banksize(void) > { > gd->bd->bi_dram[0].start = PHYS_SDRAM_1; > - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; > + gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; You're using spaces instead of tab here... WBR, Sergei