On 10/10/2015 03:16 PM, Thomas Chou wrote:
Convert altera timer to driver model. Signed-off-by: Thomas Chou <tho...@wytron.com.tw> Acked-by: Chin Liang See <cl...@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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot