diff options
author | Ken MacLeod <ken@bitsko.slc.ut.us> | 2009-09-11 15:16:18 -0500 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2009-09-24 21:57:30 -0400 |
commit | 6e748ea004473cce99fbde6382dd580c10ffdb60 (patch) | |
tree | 6ada8413fb9877d9b219a5e1d8a1cdc80092cd91 /include/configs/pcs440ep.h | |
parent | 3887c3fbdbbe6bbb4df60ed415c8e1ab9fe56b5e (diff) | |
download | u-boot-imx-6e748ea004473cce99fbde6382dd580c10ffdb60.zip u-boot-imx-6e748ea004473cce99fbde6382dd580c10ffdb60.tar.gz u-boot-imx-6e748ea004473cce99fbde6382dd580c10ffdb60.tar.bz2 |
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>
Diffstat (limited to 'include/configs/pcs440ep.h')
0 files changed, 0 insertions, 0 deletions