On 22 November 2011 04:33, Peter Chubb wrote:
> Implement the timers on the FreeScale i.MX31 SoC.
> This is not a complete implementation, but gives enough for
> Linux to boot and run.
>
>
> Signed-off-by: Hans Jang
> Signed-off-by: Adam Clench
> Signed-off-by: Peter Chubb
> ---
> hw/imx_timer
On 22 November 2011 04:33, Peter Chubb wrote:
> +/*
> + * Print a message at most ten times.
> + */
> +#define scream(fmt, args...) \
> + do { \
> + static int printable = 10;\
> + if (printable--) { \
> + fprintf(stderr, fmt, ##args);\
> + } \
> + } while (0)
Implement the timers on the FreeScale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run.
Signed-off-by: Hans Jang
Signed-off-by: Adam Clench
Signed-off-by: Peter Chubb
---
hw/imx_timer.c | 441 ++