summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/bootcount.c
AgeCommit message (Collapse)Author
2012-09-01Consolidate bootcount code into drivers/bootcountStefan 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 <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Valentin Longchamp <[email protected]> Cc: Christian Riesch <[email protected]> Cc: Manfred Rudigier <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: Rob Herring <[email protected]> Cc: Reinhard Meyer <[email protected]> Tested-by: Valentin Longchamp <[email protected]> Tested-by: Christian Riesch <[email protected]> Acked-by: Rob Herring <[email protected]> Acked-by: Mike Frysinger <[email protected]>
2011-04-30mpc832x: add support for the mpc8321 based suvd3 boardHeiko Schocher
- serial console on UART1 - Ethernet RMII over UCC4 - PHY SMSC LAN8700 - 64MB Flash - 128 MB DDR2 RAM - I2C - bootcount This board is similiar to the kmeter1 (8360) board, so common config options are extracted into the include/configs/km83xx-common.h file. Signed-off-by: Heiko Schocher <[email protected]> Acked-by: Kim Phillips <[email protected]> cc: Kim Phillips <[email protected]> cc: Holger Brunck <[email protected]> cc: Valentin Longchamp <[email protected]>
2010-06-29powerpc/bootcount: Add bootcount support for MPC512xMichael Weiss
This also uses the breadcrumb register as on MPC5200. Signed-off-by: Michael Weiss <[email protected]> Signed-off-by: Detlev Zundel <[email protected]>
2010-05-26powerpc/bootcount: Fix endianness problemMichael Weiss
For CONFIG_SYS_BOOTCOUNT_SINGLEWORD the code had an endianness problem. Signed-off-by: Michael Weiss <[email protected]> Signed-off-by: Detlev Zundel <[email protected]>
2010-05-06powerpc: Consolidate bootcount_{store|load} for PowerPCStefan Roese
This patch consolidates bootcount_{store|load} for PowerPC by implementing a common version in arch/powerpc/lib/bootcount.c. This code is now used by all PowerPC variants that currently have these functions implemented. The functions now use the proper IO-accessor functions to read/write the values. This code also supports two different bootcount versions: a) Use 2 separate words (2 * 32bit) to store the bootcounter b) Use only 1 word (2 * 16bit) to store the bootcounter Version b) was already used by MPC5xxx. Signed-off-by: Stefan Roese <[email protected]> Acked-by: Detlev Zundel <[email protected]> Acked-by: Kim Phillips <[email protected]> for 83xx parts Cc: Michael Zaidman <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Anatolij Gustschin <[email protected]>