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-Users] [PATCH] cfi-flash:	Add?CFG_FLASH_AUTOPROTECT_LIST
Date: Sat, 19 Apr 2008 17:33:43 +0200	[thread overview]
Message-ID: <20080419153342.GA12162@game.jcrosoft.org> (raw)
In-Reply-To: <200804191650.32303.matthias.fuchs@esd-electronics.com>

On 16:50 Sat 19 Apr     , Matthias Fuchs wrote:
> Hi Stefan,
> 
> I could also life with your approach, but it will add code
> even to platforms that do not use the new option.
> 
> In this case I would prefer it against the weak implementation.
I've already answer about it to Timur in this e-mail
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/37814/match=weak

I'm preparing a path about adding this define

import compiler-gcc header from linux and add

#ifndef __weak_alias
#ifndef __weak_alias(fct) __attribute__((weak,alias(#fct)))
#endif

so just add __weak to your default stucture and overwrite in the board

Best Regards,
J.

  reply	other threads:[~2008-04-19 15:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-18 14:29 [U-Boot-Users] [PATCH] cfi-flash: Add CFG_FLASH_AUTOPROTECT_LIST Matthias Fuchs
2008-04-18 16:01 ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-19 11:30   ` Matthias Fuchs
2008-04-19 12:02     ` Stefan Roese
2008-04-19 14:50       ` Matthias Fuchs
2008-04-19 15:33         ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-04-19 17:22           ` [U-Boot-Users] [PATCH] cfi-flash: Add?CFG_FLASH_AUTOPROTECT_LIST Matthias Fuchs
2008-04-20  3:54             ` [U-Boot-Users] [PATCH] cfi-flash:?Add?CFG_FLASH_AUTOPROTECT_LIST Jean-Christophe PLAGNIOL-VILLARD
2008-04-20 23:44               ` Wolfgang Denk
2008-04-20  1:14   ` [U-Boot-Users] [PATCH] cfi-flash: Add CFG_FLASH_AUTOPROTECT_LIST Wolfgang Denk
2008-04-20 13:22     ` Matthias Fuchs
2008-04-20 21:52       ` Wolfgang Denk

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=20080419153342.GA12162@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