Firmware: bump default date
This commit is contained in:
parent
2eeaaefcef
commit
1be6885223
@ -214,8 +214,8 @@ printf("PCONP=%lx\n", LPC_SC->PCONP);
|
|||||||
if((rtc_state = rtc_isvalid()) != RTC_OK) {
|
if((rtc_state = rtc_isvalid()) != RTC_OK) {
|
||||||
printf("RTC invalid!\n");
|
printf("RTC invalid!\n");
|
||||||
sram_writebyte(0xff, SRAM_STATUS_ADDR+SYS_RTC_STATUS);
|
sram_writebyte(0xff, SRAM_STATUS_ADDR+SYS_RTC_STATUS);
|
||||||
set_bcdtime(0x20110401000000LL);
|
set_bcdtime(0x20120701000000LL);
|
||||||
set_fpga_time(0x20110401000000LL);
|
set_fpga_time(0x20120701000000LL);
|
||||||
invalidate_rtc();
|
invalidate_rtc();
|
||||||
} else {
|
} else {
|
||||||
printf("RTC valid!\n");
|
printf("RTC valid!\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user