- Dec 01, 2015
-
-
Bin Meng authored
There are timers with a 64-bit counter value but current timer uclass driver assumes a 32-bit one. Modify timer_get_count() to ask timer driver to always return a 64-bit counter value, and provide an inline helper function timer_conv_64() to handle the 32-bit/64-bit conversion automatically. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
Since we have timer uclass to get clock frequency for us, remove the custom version in the altera timer driver. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Simon Glass <sjg@chromium.org>
-
- Nov 18, 2015
-
-
Thomas Chou authored
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
- Nov 06, 2015
-
-
Thomas Chou authored
- Moved macro definitions to top - Remove the penultimate comma in of_match ids Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Jagan Teki <jteki@openedev.com>
-
Thomas Chou authored
Replace numerical bit shift with BIT macro in altera_timer :%s/(1 << nr)/BIT(nr)/g where nr = 0, 1, 2 .... 31 Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Jagan Teki <jteki@openedev.com>
-
- Oct 22, 2015
-
-
Thomas Chou authored
Convert altera timer to driver model. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Chin Liang See <clsee@altera.com>
-