From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 21 Aug 2013 12:39:53 +0200 Subject: [U-Boot] [PATCH v5] ARM: mxs: Added application UART driver In-Reply-To: <1376516703-10820-1-git-send-email-andreas.wass@dalelven.com> References: <1376516703-10820-1-git-send-email-andreas.wass@dalelven.com> Message-ID: <521498F9.9050004@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 14/08/2013 23:45, Andreas Wass wrote: > The driver makes it possible to use an application UART as > the U-Boot output console for Freescale i.MX23/i.MX28 devices. > > Signed-off-by: Andreas Wass > Cc: Fabio Estevam > Cc: Marek Vasut > --- > Changes for v2: > - Added comment that regs-uartapp.h is pulled from LTIB > - BM_ prefixes removed and _MASK suffixes added instead > - BP_ prefixes removed and _OFFSET suffixes added instead > - BF_ defines removed altogether > - CONFIG_MXS_AUART_CLK renamed to MXS_AUART_CLK and guarding ifndef removed > - Added comments describing what is set and unset during init of driver > - Added newline that was accidently removed from serial.c > > Changes for v3: > - All BV_ values are now on the form (value << something) > - BV_ prefix removed and double underscore substituted with a single > - File comment of mxs_auart.c now attributes what the driver is based on > - Uses gd->baudrate instead of CONFIG_BAUDRATE > - If gd->baudrate is 0 it reverts back to CONFIG_BAUDRATE > - Checks the validity of the div value calculated when setting the baudrate > - Magic numbers are now defines instead > - Cleanup of comments > - Cleanup of commit message > > Changes for v4: > - Fixed UARTAPP_LINECTRL2_WLEN_*BITS values > > Changes for v5: > - Removed all RSVD values from regs-uartapp.h > - 0x0000FFFF (and similar) turned into 0xFFFF (and similar) > - Removed all bitshifts by 0 > - All masks with non-zero shifting are now on the form (value << shift) > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================