This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ixp425 register access
- From: Mark Salter <msalter at redhat dot com>
- To: alfred hitch <alfred dot hitch at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 16 Mar 2005 08:48:38 -0500
- Subject: Re: [ECOS] ixp425 register access
- Organization: Red Hat, Inc.
- References: <29f9165105031523206cd18f03@mail.gmail.com>
On Wed, 2005-03-16 at 02:20 -0500, alfred hitch wrote:
> Hi,
>
> I need to access the IXP425 watchdog timer registers from redboot code.
> Is there any reference code there already for doing same ??
There is code for HAL_PLATFORM_RESET which accesses the watchdog regs.
It is commented out because of the early CPU errata, but it shows how
to access the regs.
>
> How does reset command in redboot code works, I see that its using
> vector table set up which is very deeply macro'ed ..
> Is this the same thing ??
RedBoot for the IXP4xx based boards use the default method of simply
jumping to the reset vector (after turning off irqs, etc).
--Mark
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss