All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place
Date: Fri, 14 Jun 2013 10:58:25 -0400	[thread overview]
Message-ID: <20130614145825.GH5616@bill-the-cat> (raw)
In-Reply-To: <51BAB13E.4060308@denx.de>

On Fri, Jun 14, 2013 at 07:59:26AM +0200, Heiko Schocher wrote:
> Hello Tom,
> 
> Am 13.06.2013 17:53, schrieb Tom Rini:
> > On Thu, Jun 13, 2013 at 05:53:17AM +0200, Heiko Schocher wrote:
> > 
> >> move s_init from every board code to a common place.
> >>
> >> Signed-off-by: Heiko Schocher <hs@denx.de>
> >> Cc: Tom Rini <trini@ti.com>
> >> Cc: Matt Porter <mporter@ti.com>
> >> Cc: Lars Poeschel <poeschel@lemonage.de>
> >> Cc: Tom Rini <trini@ti.com>
> >> Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com>
> >>
> >> ---
> >> This patch is based on the following patches:
> >>
> >> - [U-Boot,v2] arm, am33xx: move rtc32k_enable() to common place
> >>   http://patchwork.ozlabs.org/patch/248908/
> >>
> >> - [U-Boot] arm, am33xx: move uart soft reset code to common place
> >>   http://patchwork.ozlabs.org/patch/248508/
> > 
> > These two apply best to u-boot-ti, and with them this patch doesn't
> > apply cleanly.  Please sort that out.
> 
> I based my patches on u-boot ... I look at this ..
> 
> > The following adds moving ti814x_evm into the mix and I've sent Matt
> > some binaries to give a whirl to test on the board:
> > 
> [...]
> >  /*
> >   * Basic board specific setup.  Pinmux has been handled already.
> > 
> > Please fold into v2
> > 
> > Signed-off-by: Tom Rini <trini@ti.com>
> 
> Ok, thanks!

There's a minor bug in what I posted, however.  ti814x needs timer_init
called _before_ pll_init() as setting the sata clocks (which are shared
with other periphrals that we do enable right now) needs udelay(50) to
settle as we go along.  That also needs to be commented in the code as I
had to think about it for a bit to recall exactly what was going on.

> BTW:
> I just realized that I have on one of the three boards a problem,
> that in spl code calling the rtc32k_enable() crashes ... which
> votes against moving this to a common place ... I haveno real idea
> why ... did you heard from such a behaviour? Is there some am335x
> soc, which differs from the others?

You aren't using a different clock crystal rate than the reference
platforms, are you?  I know that's a problem that needs solving still.

> 
> bye,
> Heiko
> -- 
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130614/b0d31e19/attachment.pgp>

  reply	other threads:[~2013-06-14 14:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-13  3:53 [U-Boot] [PATCH] arm, am33xx: move s_init to a common place Heiko Schocher
2013-06-13 15:53 ` Tom Rini
2013-06-14  5:59   ` Heiko Schocher
2013-06-14 14:58     ` Tom Rini [this message]
2013-06-15 20:54       ` Peter Korsgaard
2013-06-20  3:52       ` Heiko Schocher
2013-06-24  4:01         ` Lokesh Vutla
2013-06-24 16:16           ` Heiko Schocher
2013-06-24 17:25             ` Lokesh Vutla

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=20130614145825.GH5616@bill-the-cat \
    --to=trini@ti.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.