All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] am335x_evm: Switch to using imply keyword
Date: Sun, 5 Mar 2017 18:01:31 -0500	[thread overview]
Message-ID: <20170305230131.GF19897@bill-the-cat> (raw)
In-Reply-To: <20170305235343.24b1e0e8@jawa>

On Sun, Mar 05, 2017 at 11:53:43PM +0100, Lukasz Majewski wrote:
> Hi Tom,
> 
> > These particular SPL options are part of what the ROM provides, but
> > for compatibility with how we have previously used them, move them to
> > being implied by the board being selected.
> > 
> > Signed-off-by: Tom Rini <trini@konsulko.com>
> > ---
> >  arch/arm/mach-omap2/am33xx/Kconfig | 3 +++
> >  board/ti/am335x/Kconfig            | 9 ---------
> >  2 files changed, 3 insertions(+), 9 deletions(-)
> > 
> > diff --git a/arch/arm/mach-omap2/am33xx/Kconfig
> > b/arch/arm/mach-omap2/am33xx/Kconfig index 5b5d3f8cec29..5adcead185de
> > 100644 --- a/arch/arm/mach-omap2/am33xx/Kconfig
> > +++ b/arch/arm/mach-omap2/am33xx/Kconfig
> > @@ -15,6 +15,9 @@ config TARGET_AM335X_EVM
> >  	select DM_SERIAL
> >  	select DM_GPIO
> >  	select TI_I2C_BOARD_DETECT
> > +	imply SPL_YMODEM_SUPPORT
> > +	imply SPL_ENV_SUPPORT
> > +	imply SPL_WATCHDOG_SUPPORT
> 
> Are you sure that WDT is enabled by ROM by default?

OK, good point, my wording was slightly unclear.  What I meant was that
these are SPL-usable features that are part of the SoC, rather than
something board-centric.  That said, yes, a quick re-read of the
initialization section of the AM335x TRM says that ROM sets up WDT1,
which matches up with my recollections from TI days and board bring up.
It's likely this should become a 'select' as if we don't twiddle it in
time, we will trigger it.

> IIRC we must enable it explicitly in the SPL.

We can reconfigure it to be more "precise" perhaps is the answer.  I
have a recollection of a bring up issue where in the problem was "Oh, we
got somewhat far, but hadn't touched the WDT and reset".

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170305/db79cade/attachment.sig>

  reply	other threads:[~2017-03-05 23:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-03 20:33 [U-Boot] [PATCH 1/5] kconfiglib.py: Kludge in 'imply' support Tom Rini
2017-03-03 20:33 ` [U-Boot] [PATCH 2/5] am335x_evm: Switch to using imply keyword Tom Rini
2017-03-05 22:53   ` Lukasz Majewski
2017-03-05 23:01     ` Tom Rini [this message]
2017-03-10 15:10   ` [U-Boot] [U-Boot, " Tom Rini
2017-03-03 20:33 ` [U-Boot] [PATCH 3/5] TI: Migrate board/ti/common/Kconfig to imply Tom Rini
2017-03-10 15:10   ` [U-Boot] [U-Boot, " Tom Rini
2017-03-03 20:33 ` [U-Boot] [PATCH 4/5] omap3: Migrate to using imply Tom Rini
2017-03-10 15:10   ` [U-Boot] [U-Boot,4/5] " Tom Rini
2017-03-03 20:33 ` [U-Boot] [PATCH 5/5] omap4: " Tom Rini
2017-03-10 15:10   ` [U-Boot] [U-Boot,5/5] " Tom Rini
2017-03-10 15:10 ` [U-Boot] [U-Boot,1/5] kconfiglib.py: Kludge in 'imply' support Tom Rini

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=20170305230131.GF19897@bill-the-cat \
    --to=trini@konsulko.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.