This one makes a difference, worth upgrading for:
Code:
--- 2.3_399380047/linux-2.6.22/arch/arm/mach-mx3/mario.c 2009-10-21 16:07:11.000000000 -0500
+++ 2.5.8_555370010/linux-2.6.22/arch/arm/mach-mx3/mario.c 2010-12-14 12:57:23.000000000 -0600
@@ -721,6 +721,21 @@
gpio_activate_audio_ports();
}
+static void pmic_rtc_unconfigure(void)
+{
+ /* Ack the RTC timer interrupt */
+ pmic_write_reg(REG_INTERRUPT_STATUS_1, 0, 0x2);
+
+ /* Mask the RTC alarm interrupt */
+ pmic_write_reg(REG_INTERRUPT_MASK_1, 0x3, 0x3);
+
+ /* Clear out the RTC Alarm time register */
+ pmic_write_reg(REG_RTC_ALARM, 0x0, 0xffffffff);
+
+ /* Clear out the RTC Alarm Day register */
+ pmic_write_reg(REG_RTC_DAY_ALARM, 0x0, 0xffffffff);
+}
+
/*
* mx31 power off (halt)
*/
@@ -728,6 +743,8 @@
{
t_pc_config pc_config;
+ pmic_rtc_unconfigure();
+
pc_config.auto_en_vbkup2= 0;
pc_config.en_vbkup2= 0;
pc_config.vhold_voltage = 3;