[U-Boot-Users] [PATCH] Fix readline_into_buffer() with CONFIG_CMDLINE_EDITING before relocating
Wolfgang Denk
wd at denx.de
Fri May 9 22:18:28 CEST 2008
In message <Pine.LNX.4.64.0805051021530.6930 at blarg.am.freescale.net> you wrote:
> From: James Yang <James.Yang at freescale.com>
>
> 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 at freescale.com>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> common/main.c | 33 +++++++++++++++++++++++----------
> 1 files changed, 23 insertions(+), 10 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When choosing between two evils, I always like to take the one I've
never tried before. -- Mae West, "Klondike Annie"
More information about the U-Boot
mailing list