From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:30 +0200 Subject: [U-Boot] [U-Boot, v2, 1/6] timer: add OF_PLATDATA support for timer-uclass In-Reply-To: <1501706406-10284-2-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706406-10284-2-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Reviewed-by: Simon Glass > --- > > 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!