From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Wed, 21 Jan 2015 23:03:45 +1100 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: <54BF95A1.3070909@tss-engineering.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Guys, > @@ -868,6 +962,44 @@ static void mxs_power_configure_power_source(void) > > mxs_src_power_init(); > > +#ifdef CONFIG_SYS_MXS_VDD5V_ONLY > + /* > + * device configured for no source to DCDC_BATT input (5V only power > + * source). This boot option doesn't waste time looking for a good > + * battery. Battery powered operation and automatic voltage > + * measurements are disabled. > + */ > + > + /* TODO: Find out what the purpose of these two lines is */ > + setbits_le32(&rtc_regs->hw_rtc_persistent1, > + TC_PERSISTENT1_GENERAL_USB_BOOT_PLAYER); Never make simple, last minute changes without testing them... This should be RTC_PERSISTENT1_GENERAL_USB_BOOT_PLAYER I'll fix it in the next version > + clrbits_le32(&rtc_regs->hw_rtc_persistent1, > + RTC_PERSISTENT1_GENERAL_ENUM_500MA_2X); > + Regards, Graeme