All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Retanubun <RichardRetanubun@RuggedCom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] replacing do_reset with a custom one
Date: Mon, 26 Oct 2009 14:44:28 -0400	[thread overview]
Message-ID: <4AE5EE0C.2060501@RuggedCom.com> (raw)
In-Reply-To: <200910240219.26063.vapier@gentoo.org>

Mike Frysinger wrote:
> 
> #ifdef's are the past.  weaks are in!
> 
> the Blackfin port already does:
> void board_reset(void) __attribute__((__weak__));
> ...
>     if (board_reset)
>         board_reset();
> ...
> 
> the bf537-stamp uses this to make sure some pins are driven low to workaround 
> weak pull ups in the hardware
> -mike

Thanks for the tip Mike! I've submitted patches for MPC83xx and MCF5271 architectures.
They lack cpu.h file though, so I made one, let's see what the maintainers says.

Thanks again,

- Richard

  reply	other threads:[~2009-10-26 18:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 21:43 [U-Boot] replacing do_reset with a custom one Richard Retanubun
2009-10-24  6:19 ` Mike Frysinger
2009-10-26 18:44   ` Richard Retanubun [this message]
2009-10-26 20:50     ` Mike Frysinger

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=4AE5EE0C.2060501@RuggedCom.com \
    --to=richardretanubun@ruggedcom.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.