8360, kmeter1: added bootcount feature.
authorHeiko Schocher <hs@denx.de>
Tue, 24 Feb 2009 10:30:51 +0000 (11:30 +0100)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 6 Mar 2009 00:21:30 +0000 (18:21 -0600)
commitf70fd13e2fe4cf58e251271c27f9c06e141d7f9a
tree8d4b4ee4e33de7eaac42443ed27a48ab4fa31f3f
parent1e7ed2565031e01abc18c713030a0a9829c07684
8360, kmeter1: added bootcount feature.

add CONFIG_BOOTCOUNT_LIMIT feature for 8360 CPU.

The bootcounter uses 8 bytes from the muram,
because no other memory was found on this
CPU for the bootcount feature. So we must
correct the muram size in DTS before booting
Linux.

This feature is actual only implemented for
MPC8360, because not all 83xx CPU have qe,
and therefore no muram, which this feature
uses.

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/cpu.c
cpu/mpc83xx/fdt.c