public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] CFI support for flash with hardware write-protect.
@ 2007-06-29 19:09 Edward Jubenville
  2007-07-03 12:15 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Jubenville @ 2007-06-29 19:09 UTC (permalink / raw)
  To: u-boot

We have a built a custom board with onboard flash and using CFI.  Our design
supports a jumper that enables hardware write-protection on the flash, but
u-boot will not come up with the jumper installed.  It fails due to code in
drivers/cfi_flash.c that must write a command word to detect the flash
configuration.

Is there an elegant way to override the CFI discovery process, prefilling
flash_info[] with the details of our flash hardware?  Our board will boot if
we hardcode our flash settings and bypass auto-detection, but I was
wondering if somebody has a patch to cfi_flash.c to do it through
configuration parameters.

In case you are wondering, we cannot use software write-protect because our
equipment must conform with a security directive from the U.S. Department of
Defense, paraphrased:
	"There shall be no user-modifiable, non-removable, persistent storage."
The onboard flash cannot be removed from the unit, and therefore may not be
allowed to be written by an operator (e.g., by stopping in u-boot).  Forcing
somebody to disassemble the unit to switch a jumper is apparently acceptable
to the security guys.

Thanks,

Ed Jubenville

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-03 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-29 19:09 [U-Boot-Users] CFI support for flash with hardware write-protect Edward Jubenville
2007-07-03 12:15 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox