All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am335x-chiliboard: add /chosen/tick-timer
@ 2021-11-02 13:41 Marcin Niestroj
  2021-11-12 15:40 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Niestroj @ 2021-11-02 13:41 UTC (permalink / raw)
  To: u-boot; +Cc: Marcin Niestroj

Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic") has
broken boot on chiliboard platform, as it requires '/chosen/tick-timer'
in device-tree. This resulted in following panic message:

  Could not initialize timer (err -19)

Provide missing chosen property in device-tree to fix chiliboard
support.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
---
 arch/arm/dts/am335x-chiliboard-u-boot.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/am335x-chiliboard-u-boot.dtsi b/arch/arm/dts/am335x-chiliboard-u-boot.dtsi
index 06a13872ee..17333d69bf 100644
--- a/arch/arm/dts/am335x-chiliboard-u-boot.dtsi
+++ b/arch/arm/dts/am335x-chiliboard-u-boot.dtsi
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+ or X11
 /*
- * Copyright (C) 2018 Grinn Sp. z o.o. -- http://www.grinn-global.com/
+ * Copyright (C) 2018-2021 Grinn Sp. z o.o. -- http://www.grinn-global.com/
  * Author: Marcin Niestroj <m.niestroj@grinn-global.com>
  */
 
@@ -9,5 +9,6 @@
 / {
 	chosen {
 		stdout-path = &uart0;
+		tick-timer = &timer2;
 	};
 };
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: am335x-chiliboard: add /chosen/tick-timer
  2021-11-02 13:41 [PATCH] ARM: dts: am335x-chiliboard: add /chosen/tick-timer Marcin Niestroj
@ 2021-11-12 15:40 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-11-12 15:40 UTC (permalink / raw)
  To: Marcin Niestroj; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

On Tue, Nov 02, 2021 at 02:41:06PM +0100, Marcin Niestroj wrote:

> Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic") has
> broken boot on chiliboard platform, as it requires '/chosen/tick-timer'
> in device-tree. This resulted in following panic message:
> 
>   Could not initialize timer (err -19)
> 
> Provide missing chosen property in device-tree to fix chiliboard
> support.
> 
> Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-12 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02 13:41 [PATCH] ARM: dts: am335x-chiliboard: add /chosen/tick-timer Marcin Niestroj
2021-11-12 15:40 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.