All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabor Juhos <juhosg@openwrt.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] malta: use unmapped flash base address
Date: Mon, 11 Nov 2013 19:58:20 +0100	[thread overview]
Message-ID: <528128CC.30308@openwrt.org> (raw)
In-Reply-To: <5280E831.30506@imgtec.com>

2013.11.11. 15:22 keltez?ssel, Paul Burton ?rta:

<...>

>> diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm/malta.h
>> index 9b1100b..bd9043d 100644
>> --- a/arch/mips/include/asm/malta.h
>> +++ b/arch/mips/include/asm/malta.h
>> @@ -44,7 +44,7 @@
>>   #define MALTA_RESET_BASE        0x1f000500
>>   #define GORESET                0x42
>>
>> -#define MALTA_FLASH_BASE        0x1fc00000
>> +#define MALTA_FLASH_BASE        0x1e000000
>>
>>   #define MALTA_REVISION            0x1fc00010
>>   #define MALTA_REVISION_CORID_SHF    10
>>
> 
> Hmm, this does run on a real Malta but it takes around a minute to run
> relocate_code... With the 0x1fc00000 base address it's much faster. I'll see if
> I can figure out why...

Hm, you are right. Although I did not notice that before, but with this patch
U-Boot starts slower also in qemu. It seems that the problem is in the
relocation code. I'm preparing a patch to fix that.

-Gabor

      reply	other threads:[~2013-11-11 18:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11 14:05 [U-Boot] [PATCH] malta: use unmapped flash base address Gabor Juhos
2013-11-11 14:22 ` Paul Burton
2013-11-11 18:58   ` Gabor Juhos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528128CC.30308@openwrt.org \
    --to=juhosg@openwrt.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.