[U-Boot] [PATCH 1/2] nios2: Switch to generic timer

Marek Vasut marex at denx.de
Fri Sep 4 16:08:22 CEST 2015


On Friday, September 04, 2015 at 03:33:49 PM, Thomas Chou wrote:
> Hi Marek,

Hi!

> On 09/04/2015 05:51 PM, Marek Vasut wrote:
> > Zap almost all of the ad-hoc timer code from interrupts.c and
> > use the code in lib/time.c instead.
> > 
> > Signed-off-by: Marek Vasut <marex at denx.de>
> > ---
> > 
> >   arch/nios2/cpu/interrupts.c     | 132
> >   ++++++++++++---------------------------- arch/nios2/lib/Makefile      
> >     |   1 -
> >   arch/nios2/lib/time.c           |  22 -------
> >   common/board_f.c                |   2 +-
> >   include/configs/nios2-generic.h |   9 +--
> >   5 files changed, 42 insertions(+), 124 deletions(-)
> >   delete mode 100644 arch/nios2/lib/time.c
> 
> The patch cannot apply to board_f.c due to conflict in
> 
> commit 2e88bb28d8061286d2f1cabcac224df15b941b82
> NDS32: Generic Board Support and Unsupport

Aw, right, looks trivial. Thanks :)

> Tested on 3c120 devboard with qsys ghrd. But the status led didn't blink.

I think I removed this led nonsense somewhere along the way indeed.
This is a timer code, not some LED blinking code afterall, so it
should not be poluted by such stuff.

Where can I get this board btw? I've been using DE0-NANO for my NIOS
fiddling thus far.

Best regards,
Marek Vasut


More information about the U-Boot mailing list