From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 16 Jul 2012 22:42:41 +0200 Subject: [U-Boot] [RFC PATCH 1/2] i.MX28: Check if we are using a valid VBUS when initializing power In-Reply-To: <1342471182-20351-2-git-send-email-otavio@ossystems.com.br> References: <1342471182-20351-1-git-send-email-otavio@ossystems.com.br> <1342471182-20351-2-git-send-email-otavio@ossystems.com.br> Message-ID: <201207162242.42006.marex@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 Dear Otavio Salvador, [...] > > - if (tmp & POWER_STS_VDD5V_GT_VDDIO) { > + if (mx28_valid_vbus() && (tmp & POWER_STS_VDD5V_GT_VDDIO)) { So if the board isn't supplied by USB VBUS, this will fail now? [...] Best regards, Marek Vasut