Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-07-10 Thread Wolfgang Denk
Dear Stefan Roese, In message <201206041514.17201...@denx.de> you wrote: > > > Why don't you use __BYTE_ORDER rather than a new > > define? > > Unfortunately not. There are LE platforms that use BE accessors for the > bootcounter already (Davinci enbw_cmc). Mostly historical reasons I assume, >

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Stefan Roese
Rob, On Monday 04 June 2012 15:03:27 Rob Herring wrote: > On 06/04/2012 07:38 AM, Stefan Roese wrote: > > This patch moves all bootcount implementations into a common > > directory: drivers/bootcount. The generic bootcount driver > > is now usable not only by powerpc platforms, but others as well.

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Christian Riesch
Hi Stefan, On Mon, Jun 4, 2012 at 2:38 PM, Stefan Roese wrote: > This patch moves all bootcount implementations into a common > directory: drivers/bootcount. The generic bootcount driver > is now usable not only by powerpc platforms, but others as well. For the calimain board Tested-by: Christ

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Christian Riesch
Hi, On Mon, Jun 4, 2012 at 3:14 PM, Stefan Roese wrote: > On Monday 04 June 2012 15:03:27 Rob Herring wrote: >> On 06/04/2012 07:38 AM, Stefan Roese wrote: >> > This patch moves all bootcount implementations into a common >> > directory: drivers/bootcount. The generic bootcount driver >> > is now

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Stefan Roese
On Monday 04 June 2012 15:03:27 Rob Herring wrote: > On 06/04/2012 07:38 AM, Stefan Roese wrote: > > This patch moves all bootcount implementations into a common > > directory: drivers/bootcount. The generic bootcount driver > > is now usable not only by powerpc platforms, but others as well. > >

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Rob Herring
On 06/04/2012 07:38 AM, Stefan Roese wrote: > This patch moves all bootcount implementations into a common > directory: drivers/bootcount. The generic bootcount driver > is now usable not only by powerpc platforms, but others as well. > > Signed-off-by: Stefan Roese > Cc: Heiko Schocher > Cc: Va

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Valentin Longchamp
Hi Stefan, On 06/04/2012 02:38 PM, Stefan Roese wrote: > This patch moves all bootcount implementations into a common > directory: drivers/bootcount. The generic bootcount driver > is now usable not only by powerpc platforms, but others as well. I have tested it on km_kirkwood (km_arm) with the b

[U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-06-04 Thread Stefan Roese
This patch moves all bootcount implementations into a common directory: drivers/bootcount. The generic bootcount driver is now usable not only by powerpc platforms, but others as well. Signed-off-by: Stefan Roese Cc: Heiko Schocher Cc: Valentin Longchamp Cc: Christian Riesch Cc: Manfred Rudigi