From: Tom Rini Date: Mon, 12 Jun 2017 18:44:58 -0400 Subject: [U-Boot] board: ti: am335x: Fix scale_vcore for beaglebones In-Reply-To: <20170610075256.7239-1-lokeshvutla@ti.com> References: <20170610075256.7239-1-lokeshvutla@ti.com> Message-ID: <20170612224458.GM10782@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 Sat, Jun 10, 2017 at 01:22:56PM +0530, Lokesh Vutla wrote: > commit 0650798824 ("board: am335x: Introduce scale_vcores") > updated voltages of each board based on efuse. It updated > beagle bone specific voltages under the condition board_is_bone(). > But this is true only for BeagleBoneWhite. Due to which voltages > are not configured for BBB, BBW as wrong device is being probed. > > So create a common function board_is_beaglebonex() which includes > am335x based beagle family. Use this for updating voltages. > > Also remove extra if condition for selecting voltages which is > done later using a switch case and match usb current limit as > before the commit 0650798824. > > Fixes: 0650798824 ("board: am335x: Introduce scale_vcores") > Reported-by: Emmanuel Vadot > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: