Re: [U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message <20100423194341.gs20...@leila.ping.de> you wrote: > > > > + * We use transfer descriptor registers as a persistent storage > > > + * across resets. This was tested on a MCF54455. > > > + * Neither U-Boot nor the stock LTIB kernel seem to use > > > + * TCD[1], so i

Re: [U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Wegner
Dear Wolfgang Denk, On Fri, Apr 23, 2010 at 09:25:35PM +0200, Wolfgang Denk wrote: > Dear Wolfgang Wegner, > > In message <1272026324-18566-1-git-send-email-w.weg...@astro-kom.de> you > wrote: > > This patch adds bootcount for Freescale MCF5445x. Two registers of > > eDMA transfer control descri

Re: [U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message <1272026324-18566-1-git-send-email-w.weg...@astro-kom.de> you wrote: > This patch adds bootcount for Freescale MCF5445x. Two registers of > eDMA transfer control descriptors (TCD[1]) are used because these > are unused by linux kernel (freescale LTIB linux-2.6.25)

[U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Wegner
This patch adds bootcount for Freescale MCF5445x. Two registers of eDMA transfer control descriptors (TCD[1]) are used because these are unused by linux kernel (freescale LTIB linux-2.6.25) and were tested to keep their contents across resets. Signed-off-by: Wolfgang Wegner --- I implemented and