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, since the

[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 s...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Valentin Longchamp

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

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 s...@denx.de Cc: Heiko Schocher

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 Christian Riesch
Hi, On Mon, Jun 4, 2012 at 3:14 PM, Stefan Roese s...@denx.de 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

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 s...@denx.de 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

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.