[U-Boot] [PATCH v8 3/3] nios2: convert altera timer to driver model
Thomas Chou
thomas at wytron.com.tw
Tue Oct 13 15:17:52 CEST 2015
On 10/10/2015 03:16 PM, Thomas Chou wrote:
> Convert altera timer to driver model.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> Acked-by: Chin Liang See <clsee at altera.com>
> ---
> v2
> fix coding style.
> v3
> doc dts binding.
> v4
> no change.
> v5
> revert to get_rate and use uclass priv to store the clock_rate.
> v6
> rename to CONFIG_TIMER as Simon suggested.
> v7
> fix string replacement error in v6.
> v8
> replace all dm_timer with timer.
>
> 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 | 103 ++++++++++++++++++++++++
> include/configs/nios2-generic.h | 5 --
> 9 files changed, 134 insertions(+), 73 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
>
Applied to u-boot-nios.
More information about the U-Boot
mailing list