From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Waterman Date: Fri, 01 Jul 2011 08:37:11 -0400 Subject: [U-Boot] [PATCH 6/8] Adds wait to atmel_usart serial_init function In-Reply-To: <4E0DB79E.60301@mvista.com> References: <4E0C6CDC.4020806@dawning.com> <1309462387-22926-1-git-send-email-awaterman@dawning.com> <1309462387-22926-7-git-send-email-awaterman@dawning.com> <4E0DB79E.60301@mvista.com> Message-ID: <4E0DBF77.3030602@dawning.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Why 'volatile'? Also, there shouldn't be an empty line before it but there should be one after it... I used a volatile to prevent the compiler from optimizing out the (normally) useless loop. Is there a cleaner way to do this? Best regards, Alex -- Alex Waterman Computer Engineer Phone: 215-896-4920 Email: awaterman at dawning.com