public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] get a confirmation from user
@ 2007-11-09 21:19 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2007-11-09 21:19 UTC (permalink / raw)
  To: u-boot

some Blackfins have a small amount of One-Time-Programmable (OTP) memory on 
them.  the memory is not part of the Blackfin memory map, it can only be 
accessed via on-chip functions.  due to the nature of the memory (it cannot 
be reprogrammed) and the way the memory is handled/documented (it's pretty 
friggin confusing), i'd like to show a confirmation prompt to the user which 
explains what is going to happen (which can be bypassed with a --force option 
to the command for non-interactive sessions).

is there any common code to do this ?  or do i have to write the small while 
(1) { tstc()/getc()/ctrlc() } loop myself in order to get the "YES" string ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071109/65a30dd2/attachment.pgp 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-09 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 21:19 [U-Boot-Users] get a confirmation from user Mike Frysinger

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