[PATCH 4/5] Add support for BCM2835 clocksource

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Oct 9 07:29:56 EDT 2012


On 00:07 Tue 09 Oct     , Carlo Caione wrote:
> Signed-off-by: Carlo Caione <carlo.caione at gmail.com>
> ---
>  drivers/clocksource/Kconfig   |  4 +++
>  drivers/clocksource/Makefile  |  1 +
>  drivers/clocksource/bcm2835.c | 83 +++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 88 insertions(+)
>  create mode 100644 drivers/clocksource/bcm2835.c
> 
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index 9d6d293..590d06d 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -2,6 +2,10 @@ config ARM_SMP_TWD
>  	bool
>  	depends on ARM && CPU_V7
>  
> +config CLOCKSOURCE_BCM2835
> +	bool
> +	depends on ARM
no really ARM but more your ARCH_

you need to add the drivers before the arch so the finrst patch taht add the
hw work and can be bisect

Best Regards,
J.



More information about the barebox mailing list