From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Fri, 4 Sep 2015 21:33:49 +0800 Subject: [U-Boot] [PATCH 1/2] nios2: Switch to generic timer In-Reply-To: <1441360276-4792-1-git-send-email-marex@denx.de> References: <1441360276-4792-1-git-send-email-marex@denx.de> Message-ID: <55E99DBD.4020107@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek, 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 > --- > 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 Tested on 3c120 devboard with qsys ghrd. But the status led didn't blink. Best regards, Thomas Chou