[U-Boot] [RFC PATCH 2/2] ARMV7: OMAP4: Add twl6032 support

Tom Rini trini at ti.com
Wed Aug 28 15:58:25 CEST 2013


On Wed, Jul 24, 2013 at 04:56:36PM +0300, Oleg Kosheliev wrote:

> From: Oleg Kosheliev <oleg.kosheliev at ti.com>
> 
> Added chip type detection and twl6032
> support in the battery control
> and charge functions.
> 
> Based on Balaji T K <balajitk at ti.com> patches for TI u-boot.
> 
> Signed-off-by: Oleg Kosheliev <oleg.kosheliev at ti.com>
[snip]
> +	ret = twl6030_i2c_read_u8(TWL6030_CHIP_USB, USB_PRODUCT_ID_LSB, &val);
> +	if (ret) {
> +		printf("twl6030_init_battery_charging(): " \
> +		       "could not determine chip!\n");
> +		return;

Please use puts() and don't split text strings, they can be longer than
80char wide.

[snip]
> +		printf("twl6030_init_battery_charging(): " \
> +		       "unsupported chip type\n");

Same.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130828/1a779d09/attachment.pgp>


More information about the U-Boot mailing list