From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 1 Oct 2007 06:54:23 -0400 Subject: [U-Boot-Users] API for serial functions In-Reply-To: <20071001103757.535BC2408A@gemini.denx.de> References: <20071001103757.535BC2408A@gemini.denx.de> Message-ID: <200710010654.24171.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 01 October 2007, Wolfgang Denk wrote: > In message <200710010541.29574.vapier@gentoo.org> you wrote: > > speed and lose a few bytes in code size :) > > Reduce code size? To me it seems the changes you described above would > take more code. the current code checks the hardware before sending the byte to the uart and then waits for it to drain ... i was looking at having just one check. but i guess you could argue that in theory, no byte should get into the uart that didnt come through serial_putc(), so the initial check is over kill and can be dropped -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/20071001/a6eb82ff/attachment.pgp