common.c (f43dc23d5ea91fca257be02138a255f02d98e806) | common.c (4ee1f6b574765a6c97f945e6b0277e5ccac38cb5) |
---|---|
1/* 2 * arch/arm/mach-mv78xx0/common.c 3 * 4 * Core functions for Marvell MV78xx0 SoCs 5 * 6 * This file is licensed under the terms of the GNU General Public 7 * License version 2. This program is licensed "as is" without any 8 * warranty of any kind, whether express or implied. --- 804 unchanged lines hidden (view full) --- 813{ 814 platform_device_register(&mv78xx0_uart3); 815} 816 817 818/***************************************************************************** 819 * Time handling 820 ****************************************************************************/ | 1/* 2 * arch/arm/mach-mv78xx0/common.c 3 * 4 * Core functions for Marvell MV78xx0 SoCs 5 * 6 * This file is licensed under the terms of the GNU General Public 7 * License version 2. This program is licensed "as is" without any 8 * warranty of any kind, whether express or implied. --- 804 unchanged lines hidden (view full) --- 813{ 814 platform_device_register(&mv78xx0_uart3); 815} 816 817 818/***************************************************************************** 819 * Time handling 820 ****************************************************************************/ |
821void __init mv78xx0_init_early(void) 822{ 823 orion_time_set_base(TIMER_VIRT_BASE); 824} 825 |
|
821static void mv78xx0_timer_init(void) 822{ | 826static void mv78xx0_timer_init(void) 827{ |
823 orion_time_init(IRQ_MV78XX0_TIMER_1, get_tclk()); | 828 orion_time_init(BRIDGE_VIRT_BASE, BRIDGE_INT_TIMER1_CLR, 829 IRQ_MV78XX0_TIMER_1, get_tclk()); |
824} 825 826struct sys_timer mv78xx0_timer = { 827 .init = mv78xx0_timer_init, 828}; 829 830 831/***************************************************************************** --- 70 unchanged lines hidden --- | 830} 831 832struct sys_timer mv78xx0_timer = { 833 .init = mv78xx0_timer_init, 834}; 835 836 837/***************************************************************************** --- 70 unchanged lines hidden --- |