From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPI flash protection
Date: Tue, 01 Feb 2011 13:26:53 +0100 [thread overview]
Message-ID: <4D47FC0D.3060706@free.fr> (raw)
In-Reply-To: <20110201090907.GF20073@kw.sim.vm.gnt>
Le 01/02/2011 10:09, Simon Guinot a ?crit :
>> In this case, a *software* protection mechanism like for NOR flash
>> would be a better choice.
>
> Or no protection at all. After all, there is no such mechanism
> implemented for u-boot and Linux...
Actually yes, there is, for NOR at least: in U-boot, sectors of NOR
containing U-Boot and the environment are marked protected and thus
trying to erase them will fail if you don't unprotect them first.
As for Linux, you can define this when declaring the NOR device in the
machine specific code.
> Best regards,
>
> Simon
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-02-01 12:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-29 17:00 [U-Boot] SPI flash protection Simon Guinot
2011-01-30 9:36 ` Albert ARIBAUD
2011-01-30 14:56 ` Simon Guinot
2011-01-30 17:19 ` Albert ARIBAUD
2011-01-31 0:31 ` Simon Guinot
2011-01-31 6:52 ` Albert ARIBAUD
2011-01-31 7:17 ` Reinhard Meyer
2011-02-01 9:09 ` Simon Guinot
2011-02-01 12:26 ` Albert ARIBAUD [this message]
2011-02-15 8:42 ` 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=4D47FC0D.3060706@free.fr \
--to=albert.aribaud@free.fr \
--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