[U-Boot] [RFC PATCH 1/2] ARMV7: OMAP4: Add struct for twl603x data

Tom Rini trini at ti.com
Wed Aug 28 15:57:02 CEST 2013


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

> From: Oleg Kosheliev <oleg.kosheliev at ti.com>
> 
> The data struct is used to support different
> PMIC chip types. It contains the chip type and
> the data (e.g. registers addresses, adc multiplier)
> which is different for twl6030 and twl6032.
> Replaced some hardcoded values with the
> structure vars.
> 
> 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]
> +typedef enum {
> +	chip_TWL6030,
> +	chip_TWL603X_cnt
> +}t_TWL603X_chip_type;
> +
> +struct twl6030_data{
> +	t_TWL603X_chip_type chip_type;

No new typedefs.

-- 
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/b3a3a571/attachment.pgp>


More information about the U-Boot mailing list