All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] nios2: Switch to generic timer
Date: Fri, 4 Sep 2015 16:08:22 +0200	[thread overview]
Message-ID: <201509041608.22148.marex@denx.de> (raw)
In-Reply-To: <55E99DBD.4020107@wytron.com.tw>

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@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

  reply	other threads:[~2015-09-04 14:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04  9:51 [U-Boot] [PATCH 1/2] nios2: Switch to generic timer Marek Vasut
2015-09-04  9:51 ` [U-Boot] [PATCH 2/2] nios2: Split timer code into timer.c Marek Vasut
2015-09-07  8:00   ` Thomas Chou
2015-09-04 13:33 ` [U-Boot] [PATCH 1/2] nios2: Switch to generic timer Thomas Chou
2015-09-04 14:08   ` Marek Vasut [this message]
2015-09-05  0:10     ` Thomas Chou
2015-09-07 12:33       ` Marek Vasut
2015-09-05 13:04     ` [U-Boot] [PATCH] nios2: configure STATUS_LED_BOOT Thomas Chou
2015-09-05 13:11       ` Marek Vasut
2015-09-06 11:35         ` Thomas Chou
2015-09-06 11:56           ` Marek Vasut
2015-09-15  8:39       ` Thomas Chou
2015-09-07  1:10     ` [U-Boot] [PATCH 1/2] nios2: Switch to generic timer Thomas Chou
2015-09-07  9:32       ` Marek Vasut
2015-09-07 11:15         ` Thomas Chou

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=201509041608.22148.marex@denx.de \
    --to=marex@denx.de \
    --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.