diff options
| author | York Sun <yorksun@freescale.com> | 2012-08-17 09:00:54 +0000 | 
|---|---|---|
| committer | Andy Fleming <afleming@freescale.com> | 2012-08-23 12:16:56 -0500 | 
| commit | 7ac3cc20e09e10051fb42e4bb2325177c8b32e86 (patch) | |
| tree | 424c6d6ec1243edc94b05905e4c29ac1842fd70f /arch/powerpc/cpu/mpc85xx/cpu_init.c | |
| parent | 1d083ff2c4be7864aacec30a82d01e90b78e680a (diff) | |
| download | olio-uboot-2014.01-7ac3cc20e09e10051fb42e4bb2325177c8b32e86.tar.xz olio-uboot-2014.01-7ac3cc20e09e10051fb42e4bb2325177c8b32e86.zip | |
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>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/cpu_init.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index f293265c8..afb56719d 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -48,8 +48,6 @@  #include "../../../../drivers/block/fsl_sata.h" -#define HWCONFIG_BUFFER_SIZE 128 -  DECLARE_GLOBAL_DATA_PTR;  #ifdef CONFIG_QE |