All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eugen.Hristev at microchip.com <Eugen.Hristev@microchip.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2] ARM: dts: at91: sama5d3: add u-boot properties to sama5d3 pit timer
Date: Wed, 7 Apr 2021 06:32:31 +0000	[thread overview]
Message-ID: <01ab449b-a75d-e655-c019-00efa37259ae@microchip.com> (raw)
In-Reply-To: <CA+CtpRjeEz8agWoYYGG7Wo1A5OQ2OUEMUD+og2-sEeN5Ymovpw@mail.gmail.com>

On 4/7/21 1:16 AM, Derald Woods wrote:
> On Tue, Apr 6, 2021 at 4:40 AM Manuel Reis <mluis.reis@gmail.com 
> <mailto:mluis.reis@gmail.com>> wrote:
> 
>     in the early SPL boot stage whenever there is a call to udelay,
>     dm_timer_init fails to find the pit timer whenever it traverses
>     the device tree, if this property is not present
> 
>     Signed-off-by: Manuel Reis <mluis.reis@gmail.com
>     <mailto:mluis.reis@gmail.com>>
>     CC: Eugen Hristev <eugen.hristev@microchip.com
>     <mailto:eugen.hristev@microchip.com>>
>     ---
>      ?arch/arm/dts/sama5d3.dtsi | 1 +
>      ?1 file changed, 1 insertion(+)
> 
>     diff --git a/arch/arm/dts/sama5d3.dtsi b/arch/arm/dts/sama5d3.dtsi
>     index 6ed218eaad..42c30e9f30 100644
>     --- a/arch/arm/dts/sama5d3.dtsi
>     +++ b/arch/arm/dts/sama5d3.dtsi
>     @@ -1320,6 +1320,7 @@
>      ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? reg = <0xfffffe30 0xf>;
>      ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
>      ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? clocks = <&mck>;
>     +? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?u-boot,dm-pre-reloc;
>      ? ? ? ? ? ? ? ? ? ? ? ? };
> 
>      ? ? ? ? ? ? ? ? ? ? ? ? watchdog at fffffe40 {
>     -- 
>     2.27.0
> 
> 
> This patch, on top of v2021.04, allows my SAMA5D3 Xplained board to boot 
> normally again.
> 
> Tested-by: Derald D. Woods <woods.technical@gmail.com 
> <mailto:woods.technical@gmail.com>>
> 

Hi Derald,

Could I ask, you are using the SPL to boot your board ?
Did you have to remove any udelay from the ddr2_init code , or it booted 
out of the box by applying this patch only ?

Thanks,
Eugen

  reply	other threads:[~2021-04-07  6:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06  9:39 [PATCH v2] ARM: dts: at91: sama5d3: add u-boot properties to sama5d3 pit timer Manuel Reis
2021-04-06 22:16 ` Derald Woods
2021-04-07  6:32   ` Eugen.Hristev at microchip.com [this message]
2021-04-07  9:16     ` Manuel Luís Reis
2021-04-07  9:31       ` Eugen.Hristev at microchip.com
2021-04-07  9:39         ` Manuel Luís Reis
2021-04-19  7:40           ` Eugen.Hristev at microchip.com
2021-04-07 20:07     ` Derald Woods

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01ab449b-a75d-e655-c019-00efa37259ae@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.