From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 22 Jan 2015 00:27:54 +0100 Subject: [U-Boot] [PATCH 2/5] Enable booting of mx28 without battery In-Reply-To: <1421841318-3014-3-git-send-email-gruss@tss-engineering.com> References: <1421841318-3014-1-git-send-email-gruss@tss-engineering.com> <1421841318-3014-3-git-send-email-gruss@tss-engineering.com> Message-ID: <201501220027.54148.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 On Wednesday, January 21, 2015 at 12:55:15 PM, Graeme Russ wrote: > Section 4.1.2 of Freescale Application Note AN4199 describes the > configuration required to operate the mx28 from a 5V source without a > battery. This patch implements the changes to the Freescale bootlets > which allow this configuration to properly boot the mx28 processor > > Signed-off-by: Graeme Russ I have to admit I don't really like this boatload of new ifdeffery. Isn't it possible to detect if the battery is or isn't connected at runtime ? Best regards, Marek Vasut