public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] at91sam9263ek: active watchdog support	via at91sam9263ek_wdt_config
Date: Mon, 9 Mar 2009 09:39:46 +0100	[thread overview]
Message-ID: <20090309083946.GG24237@game.jcrosoft.org> (raw)
In-Reply-To: <20090308231518.26F73832E8B8@gemini.denx.de>

On 00:15 Mon 09 Mar     , Wolfgang Denk wrote:
> Dear Jean-Christophe PLAGNIOL-VILLARD,
> 
> In message <1232623377-26351-3-git-send-email-plagnioj@jcrosoft.com> you wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> > ---
> >  Makefile                        |    5 +++++
> >  include/configs/at91sam9263ek.h |    5 +++++
> >  2 files changed, 10 insertions(+), 0 deletions(-)
> > 
> > diff --git a/Makefile b/Makefile
> > index c3f089d..2fb0c42 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -2663,6 +2663,7 @@ at91sam9261ek_config	:	unconfig
> >  at91sam9263ek_nandflash_config \
> >  at91sam9263ek_dataflash_config \
> >  at91sam9263ek_dataflash_cs0_config \
> > +at91sam9263ek_wdt_config \
> >  at91sam9263ek_config	:	unconfig
> >  	@mkdir -p $(obj)include
> >  	@if [ "$(findstring _nandflash,$@)" ] ; then \
> > @@ -2672,6 +2673,10 @@ at91sam9263ek_config	:	unconfig
> >  		echo "#define CONFIG_SYS_USE_DATAFLASH 1"	>>$(obj)include/config.h ; \
> >  		$(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
> >  	fi;
> > +	@if [ "$(findstring _wdt_, $@)" ] ; then \
> > +		echo "#define CONFIG_AT91SAM9_WATCHDOG" >> $(obj)include/config.h ; \
> > +		$(XECHO) "... configured with watchdog active"; \
> > +	fi
> >  	@$(MKCONFIG) -a at91sam9263ek arm arm926ejs at91sam9263ek atmel at91
> 
> Sorry for the late reply - but this makes no sense to me.
> 
> CONFIG_ settings belong into the board config file, where a user
> expects to find user configurable settings.
> 
> Why would the use of the watchdog be restricted like here? Why would
> it be not possible to use it in combination with USE_NANDFLASH or with
> USE_DATAFLASH?

It's possible but do we really need to add 4 new configs?

or just one and a doc how to use it?

Best Regards,
J.

  reply	other threads:[~2009-03-09  8:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 11:22 [U-Boot] [PATCH 0/2] at91sam9: add watchdog support Jean-Christophe PLAGNIOL-VILLARD
2009-01-22 11:22 ` [U-Boot] [PATCH 1/2] " Jean-Christophe PLAGNIOL-VILLARD
2009-01-22 11:22   ` [U-Boot] [PATCH 2/2] at91sam9263ek: active watchdog support via at91sam9263ek_wdt_config Jean-Christophe PLAGNIOL-VILLARD
2009-03-08 23:15     ` Wolfgang Denk
2009-03-09  8:39       ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-03-09 11:19         ` Wolfgang Denk
2009-03-08 23:17   ` [U-Boot] [PATCH 1/2] at91sam9: add watchdog support Wolfgang Denk
2009-03-09  8:32     ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-09 11:19       ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2009-02-01 16:29 Jean-Christophe PLAGNIOL-VILLARD
2009-02-01 16:29 ` [U-Boot] [PATCH 2/2] at91sam9263ek: active watchdog support via at91sam9263ek_wdt_config Jean-Christophe PLAGNIOL-VILLARD
2009-03-08 23:19   ` Wolfgang Denk
2009-06-13 10:52     ` Giulio Benetti
2009-06-13 12:37       ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-15 10:38         ` Giulio Benetti
2009-06-15 12:44           ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-15 13:01             ` Alessandro Rubini
2009-06-18 15:30               ` Giulio Benetti

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=20090309083946.GG24237@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox