From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 31 Jan 2013 12:01:38 -0500 Subject: [U-Boot] [PATCH 4/7] ARM: OMAP4+: Clean up the pmic code In-Reply-To: <1359611525-19017-5-git-send-email-r.sricharan@ti.com> References: <1359611525-19017-1-git-send-email-r.sricharan@ti.com> <1359611525-19017-5-git-send-email-r.sricharan@ti.com> Message-ID: <20130131170138.GA30932@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 31, 2013 at 11:22:02AM +0530, R Sricharan wrote: > The pmic code is duplicated for OMAP 4 and 5. > Instead move the data to Soc specific place and > share the code. > > Signed-off-by: R Sricharan [snip] > +++ b/arch/arm/cpu/armv7/omap4/hw_data.c [snip] > +struct vcores_data omap4430_volts_es1 = { > + .mpu.value = 1325, .mpu.addr = SMPS_REG_ADDR_VCORE1, > + .mpu.pmic = &twl6030_4430es1, Here and in omap5/hw_data.c, split these up into multiple lines. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: