PPC: set default date on PPC without RTC

2013-09-11 Thread Wladislav Wiebe
Hello guys, would like to ask if there is a proper possibility on PPC to set default date (basically the year). The board has no RTC chip, and I would need instead of 1970 another year. For some reason does e.g: --- a/linux/arch/powerpc/kernel/time.c +++ b/linux/arch/powerpc/kernel/time.c @@

Re: PPC: set default date on PPC without RTC

2013-09-11 Thread Wladislav Wiebe
Hi, no matter anymore - got it: --- a/linux/arch/powerpc/kernel/time.c +++ b/linux/arch/powerpc/kernel/time.c @@ -832,7 +832,7 @@ static void __read_persistent_clock(struct timespec *ts) } } if (!ppc_md.get_rtc_time) { - ts-tv_sec = 0; +