From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 22 Sep 2010 10:18:43 +0200 Subject: [U-Boot] [PATCH] ppc4xx: POST UART: Use in/out_8() io-accessor functions In-Reply-To: <1284453753-18366-1-git-send-email-sr@denx.de> References: <1284453753-18366-1-git-send-email-sr@denx.de> Message-ID: <201009221018.43136.sr@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 On Tuesday 14 September 2010 10:42:33 Stefan Roese wrote: > This patch fixes a problem in the PPC4xx POST UART driver. This driver > incorrectly used the in/out8() io-accessor functions. This could lead to > problems since these functions don't guarantee execution ordering. This > patch now replaces these functions with the correct ones. > > Additionally the driver is converted to using the NS16550 struct instead > of macros for the register offsets. > > And some common code is factored out for better maintainability. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de