public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] at91hal_platform_setup.h question
@ 2002-06-19 21:40 Tim Drury
  2002-06-20  5:36 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Drury @ 2002-06-19 21:40 UTC (permalink / raw)
  To: ecos-discuss


The following lines appear in hal_platform_setup.h:

#if defined(CYG_HAL_STARTUP_ROMRAM)
        ldr     r0,=0x01010000          // Relocate FLASH/ROM to on-chip RAM
        ldr     r1,=0x02000000          // RAM base & length
        ldr     r2,=0x02010000
...

Is there any particular reason the RAM and ROM addresses and lengths
are hard-coded here?  Why not put the constants defined in
mlt_arm_at91_eb40_ramrom.h in there?

-tim


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] at91hal_platform_setup.h question
  2002-06-19 21:40 [ECOS] at91hal_platform_setup.h question Tim Drury
@ 2002-06-20  5:36 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2002-06-20  5:36 UTC (permalink / raw)
  To: Tim Drury; +Cc: eCos Discussion

On Wed, 2002-06-19 at 22:39, Tim Drury wrote:
> 
> The following lines appear in hal_platform_setup.h:
> 
> #if defined(CYG_HAL_STARTUP_ROMRAM)
>         ldr     r0,=0x01010000          // Relocate FLASH/ROM to on-chip RAM
>         ldr     r1,=0x02000000          // RAM base & length
>         ldr     r2,=0x02010000
> ...
> 
> Is there any particular reason the RAM and ROM addresses and lengths
> are hard-coded here?  Why not put the constants defined in
> mlt_arm_at91_eb40_ramrom.h in there?

A good idea - please send a patch :-)


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-20 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-19 21:40 [ECOS] at91hal_platform_setup.h question Tim Drury
2002-06-20  5:36 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).