aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib/board.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-10-22 03:18:13 -0500
committerWolfgang Denk <wd@denx.de>2010-10-23 22:10:54 +0200
commitc4b115f536b0cb41b0d863ab00fe52d7772433a0 (patch)
treeadd5d84b93ed44959f093bfa6b1bf39dd89e1924 /arch/arm/lib/board.c
parent3f7ffa440a60d5b37d1eabbee1b4c2af60eb104b (diff)
downloadu-boot-linaro-stable-c4b115f536b0cb41b0d863ab00fe52d7772433a0.tar.gz
hwconfig: Utilize getenv_f before relocation to allow for larger buffer
Since we use hwconfig in cases before relocation (like getting DDR params on FSL PPC systems), we can have strings that exceed the early small (32 byte) buffer size that getenv will handle. So we explicitly allocate our own buffer on the stack and use if to handle getting the hwconfig env string. We currently utilize a string length of 128 bytes. This allows us to get rid of boot messages like: env_buf too small [32] Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/arm/lib/board.c')
0 files changed, 0 insertions, 0 deletions