[U-Boot] [U-Boot, v2, 1/6] timer: add OF_PLATDATA support for timer-uclass

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Sun Aug 6 17:18:30 UTC 2017


> 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2:
> - marks blob as maybe_unused (to accomodate the OF_CONTROL case w/o
>   warnings)
> 
>  drivers/timer/timer-uclass.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list