From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] flash hardware protection with CFI driver does not autoprotect monitor completely
Date: Mon, 19 Nov 2007 07:14:44 +0100 [thread overview]
Message-ID: <200711190714.45200.sr@denx.de> (raw)
In-Reply-To: <20071118215200.67EAA243A9@gemini.denx.de>
On Sunday 18 November 2007, Wolfgang Denk wrote:
> > > I think as a short term fix we might define an additional area that
> > > needs to be protected (the reset vector). Mid/long term we should
> > > change the code so you can pass a list of areas (start/end or
> > > start/length pairs) that will be protected. This would, for example,
> > > also allow to keep certain other areas (FDT, kernel image, etc.)
> > > auto-protected as well - configurable by the user ona per-board base.
> >
> > Sometinhg like this?
> >
> > Add this to board's config file:
> > #define CONFIG_FLASH_AUTOPROTECT_LIST {{0xfffe0000, 0xffffffff},
> > {0xfe000000, 0xfe0fffff}}
>
> Yes, that's what I meant, although I have to admit that my personal
> preference would be to use { start, size } instead.
>
> What do you (and others) think?
Yes, I would prefer size too. This would lead to something like this on 4xx
boards:
#define CONFIG_FLASH_AUTOPROTECT_LIST { {CFG_MONITOR_BASE, CFG_MONITOR_LEN} }
Thanks.
Viele Gr??e,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2007-11-19 6:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-18 18:59 [U-Boot-Users] flash hardware protection with CFI driver does not autoprotect monitor completely Matthias Fuchs
2007-11-18 19:31 ` Wolfgang Denk
2007-11-18 21:14 ` Matthias Fuchs
2007-11-18 21:52 ` Wolfgang Denk
2007-11-19 6:14 ` Stefan Roese [this message]
2007-11-19 10:04 ` Matthias Fuchs
2007-11-19 10:10 ` Stefan Roese
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=200711190714.45200.sr@denx.de \
--to=sr@denx.de \
--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.