[U-Boot] [PATCH v4 2/2] nios2: convert altera timer to driver model

Chin Liang See clsee at altera.com
Wed Oct 7 04:27:37 CEST 2015


Hi,

On Sun, 2015-10-04 at 21:56 +0800, thomas at wytron.com.tw wrote:
> Convert altera timer to driver model.
> 
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> ---
> v2
>   fix coding style.
> v3
>   doc dts binding.
> v4
>   no change.
> 
>  arch/nios2/cpu/Makefile                         |   2 +-
>  arch/nios2/cpu/timer.c                          |  65 --------------
>  common/board_f.c                                |   3 +-
>  configs/nios2-generic_defconfig                 |   2 +
>  doc/device-tree-bindings/timer/altera_timer.txt |  19 ++++
>  drivers/timer/Kconfig                           |   7 ++
>  drivers/timer/Makefile                          |   1 +
>  drivers/timer/altera_timer.c                    | 110 ++++++++++++++++++++++++
>  include/configs/nios2-generic.h                 |   6 --
>  9 files changed, 141 insertions(+), 74 deletions(-)
>  delete mode 100644 arch/nios2/cpu/timer.c
>  create mode 100644 doc/device-tree-bindings/timer/altera_timer.txt
>  create mode 100644 drivers/timer/altera_timer.c
> 

Acked-by: Chin Liang See <clsee at altera.com>

Thanks
Chin Liang



More information about the U-Boot mailing list