| 6e748ea0 | 11-Sep-2009 |
Ken MacLeod <ken@bitsko.slc.ut.us> |
cmd_fdt.c: fix parse of byte streams and strings
Commit 4abd844d8e extended the fdt command parser to handle property strings which are split across multiple arguments but it was broken for byte str
cmd_fdt.c: fix parse of byte streams and strings
Commit 4abd844d8e extended the fdt command parser to handle property strings which are split across multiple arguments but it was broken for byte streams and strings.
Byte stream parsing:
* Fixes where it would terminate early or go into an endless loop.
* Fixes a 0x00 being inserted into the data if there is a space after '[' or a separate argument.
* Fixes dereferencing the argument pointer after the last argument.
* Checks for bad characters.
String parsing:
* Treat multiple arguments as a string list. This fixes an issue where only the last argument was stored.
Signed-off-by: Ken MacLeod <ken@bitsko.slc.ut.us>
show more ...
|
| b029dddc | 07-Sep-2009 |
Prafulla Wadaskar <prafulla@marvell.com> |
mkimage: Make table_entry code global
- make get_table_entry_id() global - make get_table_entry_name() global - move struct table_entry to image.h
Currently this code is used by image.c only.
This
mkimage: Make table_entry code global
- make get_table_entry_id() global - make get_table_entry_name() global - move struct table_entry to image.h
Currently this code is used by image.c only.
This patch makes this API global so it can be used by other parts of code, too.
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com> Acked-by: Ron Lee <ron.debian.org>
Edit comments and commit message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| f666dea8 | 07-Sep-2009 |
Prafulla Wadaskar <prafulla@marvell.com> |
mkimage: Make genimg_print_size() global
Currently it is used by image.c only, but the the function can be used to support additional mkimage types like for example kwbimage, so make this function g
mkimage: Make genimg_print_size() global
Currently it is used by image.c only, but the the function can be used to support additional mkimage types like for example kwbimage, so make this function globally visible.
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Edited commit message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| 18304f76 | 24-Jul-2009 |
Mike Frysinger <vapier@gentoo.org> |
env: kill off default_environment_size
The only environment type that uses this variable is spi flash, and that is only because it is reimplementing the common set_default_env() function. So fix the
env: kill off default_environment_size
The only environment type that uses this variable is spi flash, and that is only because it is reimplementing the common set_default_env() function. So fix the spi flash code and kill off the default_environment_size in the process.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|