powerpc/mpc8xxx: Move HWCONFIG_BUFFER_SIZE into config.h
authorYork Sun <yorksun@freescale.com>
Fri, 17 Aug 2012 09:00:54 +0000 (09:00 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 17:16:56 +0000 (12:16 -0500)
commit7ac3cc20e09e10051fb42e4bb2325177c8b32e86
tree424c6d6ec1243edc94b05905e4c29ac1842fd70f
parent1d083ff2c4be7864aacec30a82d01e90b78e680a
powerpc/mpc8xxx: Move HWCONFIG_BUFFER_SIZE into config.h

Before proper environment is setup, we extract hwconfig and put it into a
buffer with size HWCONFIG_BUFFER_SIZE. We need to enlarge the buffer to
accommodate longer string. Since this macro is used in multiple files, we
move it into arch/powerpc/include/asm/config.h.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
arch/powerpc/cpu/mpc8xxx/ddr/options.c
arch/powerpc/include/asm/config.h