diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-10-22 03:18:13 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-23 22:10:54 +0200 |
commit | c4b115f536b0cb41b0d863ab00fe52d7772433a0 (patch) | |
tree | add5d84b93ed44959f093bfa6b1bf39dd89e1924 /doc/README.mflash | |
parent | 3f7ffa440a60d5b37d1eabbee1b4c2af60eb104b (diff) | |
download | u-boot-imx-c4b115f536b0cb41b0d863ab00fe52d7772433a0.zip u-boot-imx-c4b115f536b0cb41b0d863ab00fe52d7772433a0.tar.gz u-boot-imx-c4b115f536b0cb41b0d863ab00fe52d7772433a0.tar.bz2 |
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 'doc/README.mflash')
0 files changed, 0 insertions, 0 deletions