mpc8xxx: Enable ECC on/off control in hwconfig
authorYork Sun <yorksun@freescale.com>
Mon, 10 Jan 2011 12:02:57 +0000 (12:02 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 20 Jan 2011 04:58:23 +0000 (22:58 -0600)
commit47df8f03f4cae5cec1f42856916a3dd0d0460dc1
tree5c46a33980469680eeba453a2f18652495633b13
parentdd12768974358e9f03147c3bffc54b619308f318
mpc8xxx: Enable ECC on/off control in hwconfig

Add fsl_ddr:ecc=on in hwconfig. If ECC is enabled in board configuration file,
ECC can be turned on/off by this switch. If this switch is omitted, it is ON by
default.

Updated hwconfig calls to use local buffer.

Syntax is
hwconfig=fsl_ddr:ecc=on

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/options.c
doc/README.fsl-ddr