[U-Boot] [PATCH 2/5] Enable booting of mx28 without battery

Graeme Russ gruss at tss-engineering.com
Wed Jan 21 13:03:45 CET 2015


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


More information about the U-Boot mailing list