From: Marek Vasut Date: Wed, 30 Jan 2013 16:39:26 +0100 Subject: [U-Boot] [PATCH 06/10] mx23_olinuxino: Add support for status LED In-Reply-To: References: <1359548001-14278-1-git-send-email-otavio@ossystems.com.br> <201301301514.00166.marex@denx.de> Message-ID: <201301301639.26621.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, > On Wed, Jan 30, 2013 at 12:13 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> This allow user to know if the bootloader is running, even without a > >> serial console. > >> > >> Signed-off-by: Otavio Salvador > > > > Uh oh, how does this know which GPIO to toggle to drive the led this time > > ? > > The problem wasn't the code but me. I wasn't able to find the right > GPIO number at that time. This is not my question. My question is how does this toggle the GPIO for the LED? Moreover, you never set the LED GPIO as output. Best regards, Marek Vasut