From: Wolfgang Denk Date: Fri, 07 Mar 2008 17:33:34 +0100 Subject: [U-Boot-Users] [PATCH] Add flash programming counter] In-Reply-To: Your message of "Fri, 07 Mar 2008 11:09:18 EST." <47D168AE.7050006@ge.com> Message-ID: <20080307163334.025F7247B3@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <47D168AE.7050006@ge.com> you wrote: > > There is no way to add an end marker without using a new line (or use > '\r' which is really unacceptable, and more justifiably so). Since we > are settling in on having 50 (?probably want to use a #define) dots > unless there are fewer than 50 units to be written, I suppose we can > live without a end marker. Sigh, the end marker was the fun part. Yes, I understand this. But there is also a few other things to consider: keeping the output terse and efficient; keeping the same look and feel acrross different boards and platforms, etc. If you add such code to the CFI driver, users might request that such code also gets added to all those flash drivers where the CFI driver cannot be used, etc. Remember the KISS principle. > [1] Answer: 60% done, 40% remaining for all the examples. You're lucky. To me it seems always to end up with hitting the 90-90 rule. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Where there's no emotion, there's no motive for violence. -- Spock, "Dagger of the Mind", stardate 2715.1