/* This function is used to backup tm_year parameter in rtc_timeinfo global variable before system reset.  */
void rtc_backup_timeinfo(void)
/* This function is used to backup tm_year parameter in rtc_timeinfo global variable before system reset.  */
void rtc_backup_timeinfo(void)
{
	u32 value = BKUP_Read(0);
	value = (value & ~BIT_RTC_BACKUP) | (rtc_timeinfo.tm_year << BIT_RTC_BACKUP_SHIFT);
	BKUP_Write(0, value);
	BKUP_Set(0, BIT_RTC_RESTORE);
}