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

Thomas Chou thomas at wytron.com.tw
Fri Sep 4 15:33:49 CEST 2015


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

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

Best regards,
Thomas Chou


More information about the U-Boot mailing list