From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from f418.i.mail.ru ([185.5.136.89]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VsGm1-00015y-OK for barebox@lists.infradead.org; Sun, 15 Dec 2013 18:50:42 +0000 From: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= Mime-Version: 1.0 Date: Sun, 15 Dec 2013 22:50:15 +0400 Message-ID: <1387133415.677666426@f418.i.mail.ru> In-Reply-To: <20131215225218.0185e701c5bef4889559a65d@gmail.com> References: <1387119725-6803-1-git-send-email-antonynpavlov@gmail.com> <1387130880.154942460@f379.i.mail.ru> <20131215225218.0185e701c5bef4889559a65d@gmail.com> Reply-To: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: =?UTF-8?B?UmU6IFtKVVNUIFJGQ10gQVJNOiBESUdJQzogYWRkIGNzcmMtZHVtbXk=?= To: =?UTF-8?B?QW50b255IFBhdmxvdg==?= Cc: barebox@lists.infradead.org > On Sun, 15 Dec 2013 22:08:00 +0400 > Alexander Shiyan wrote: > > > > The clocksource csrc-timer driver that uses DIGIC > > > hardware TIMER2 perfectrly works on Canon A1100, > > > but does not works on Canon EOS 600D. > > > IMHO we need additional timer initialisation. > > > > > > This patch introduces a quick-and-dirty termporary > > > solution for this situation: a clocksource driver that > > > does not use any hardware at all. > > > > > > Also this driver is very handy for running barebox > > > on Magic Lantern EOS qemu-based emulator as > > > the emulator does not realize timer counter register at all! > > > > > > Signed-off-by: Antony Pavlov > > ... > > > + printf("clocksource_init: mult=%08x, shift=%08x\n", > > > + dummy_cs.mult, dummy_cs.shift); > > > > No reason to spam into console. Put this into pr_debug. > > > > Of cause there is no reason to spam into console! > > This patch is mailed only for illustration of the concept, > it even can't be applyed. > > Have you any comments on the concept itself? I am not a guru, sorry :) --- _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox