mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
4ee1f6b574
This patch makes the various mach dirs that use the plat-orion time code pass in timer and bridge addresses explicitly, instead of having plat-orion get those values by including a mach dir include file -- the latter mechanism is problematic if you want to support multiple ARM platforms in the same kernel image. Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
21 lines
489 B
C
21 lines
489 B
C
/*
|
|
* arch/arm/plat-orion/include/plat/time.h
|
|
*
|
|
* Marvell Orion SoC time handling.
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __PLAT_TIME_H
|
|
#define __PLAT_TIME_H
|
|
|
|
void orion_time_set_base(u32 timer_base);
|
|
|
|
void orion_time_init(u32 bridge_base, u32 bridge_timer1_clr_mask,
|
|
unsigned int irq, unsigned int tclk);
|
|
|
|
|
|
#endif
|