[U-Boot] [RFC PATCH 1/6] timer: add OF_PLATDATA support for timer-uclass

Simon Glass sjg at chromium.org
Tue Aug 1 09:48:03 UTC 2017


On 28 July 2017 at 10:31, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> The timer-uclass depends on full OF_CONTROL through its interrogation
> of /chosen and the code to determine the clock-frequency.
>
> For the OF_PLATDATA case, these code-paths are disabled and it becomes
> the timer driver's responsibility to correctly set the clock-frequency
> in the uclass priv-data.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>
>  drivers/timer/timer-uclass.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list