Consolidate bootcount code into drivers/bootcount
authorStefan Roese <sr@denx.de>
Thu, 16 Aug 2012 17:55:41 +0000 (17:55 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 1 Sep 2012 12:26:02 +0000 (14:26 +0200)
commit0044c42e94ecc258728190919b4619508fb83089
tree4964b48f60ad93a2b77a76104b0ca9f664bde3b3
parent7fe7701d322e9147c06d68ad6ebef91289b9a57e
Consolidate bootcount code into drivers/bootcount

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 <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Cc: Christian Riesch <christian.riesch@omicron.at>
Cc: Manfred Rudigier <manfred.rudigier@omicron.at>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Reinhard Meyer <reinhard.meyer@emk-elektronik.de>
Tested-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Tested-by: Christian Riesch <christian.riesch@omicron.at>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
21 files changed:
Makefile
arch/arm/cpu/arm926ejs/at91/cpu.c
arch/arm/cpu/armv7/highbank/Makefile
arch/arm/cpu/armv7/highbank/bootcount.c [deleted file]
arch/arm/cpu/ixp/cpu.c
arch/blackfin/cpu/Makefile
arch/powerpc/lib/Makefile
board/enbw/enbw_cmc/enbw_cmc.c
board/keymile/km_arm/km_arm.c
board/omicron/calimain/calimain.c
drivers/bootcount/Makefile [new file with mode: 0644]
drivers/bootcount/bootcount.c [moved from arch/powerpc/lib/bootcount.c with 82% similarity]
drivers/bootcount/bootcount_at91.c [new file with mode: 0644]
drivers/bootcount/bootcount_blackfin.c [moved from arch/blackfin/cpu/bootcount.c with 100% similarity]
drivers/bootcount/bootcount_davinci.c [new file with mode: 0644]
drivers/bootcount/bootcount_ram.c [new file with mode: 0644]
include/bootcount.h [new file with mode: 0644]
include/configs/calimain.h
include/configs/enbw_cmc.h
include/configs/highbank.h
include/configs/km/km_arm.h