diff options
author | James Yang <James.Yang@freescale.com> | 2008-05-05 10:22:53 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-09 22:18:15 +0200 |
commit | 597f6c26a18b389903a64692bacbf9a1ca69355b (patch) | |
tree | e7847a9cfe9e456930ca714f30956f898faa9419 /tools/env | |
parent | 726c0f1e5f108dccea052965123b95837d2bd402 (diff) | |
download | u-boot-imx-597f6c26a18b389903a64692bacbf9a1ca69355b.zip u-boot-imx-597f6c26a18b389903a64692bacbf9a1ca69355b.tar.gz u-boot-imx-597f6c26a18b389903a64692bacbf9a1ca69355b.tar.bz2 |
Fix readline_into_buffer() with CONFIG_CMDLINE_EDITING before relocating
When CONFIG_CMDLINE_EDITING is enabled, readline_into_buffer() doesn't
work before relocating to RAM because command history is written into
a global array that is not writable before relocation. This patch
defers to the no-editing and no-history code in readline_into_buffer()
if it is called before relocation.
Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'tools/env')
0 files changed, 0 insertions, 0 deletions