summaryrefslogtreecommitdiff
path: root/board/rbc823
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@mvista.com>2010-06-18 15:08:12 +0400
committerWolfgang Denk <wd@denx.de>2010-06-29 22:24:11 +0200
commit81f8d3b021ac9e567f06b44d7eb95f1a1409428d (patch)
tree231b844bdc96ce45127fa3e7c299e88daaeaf885 /board/rbc823
parente365c43d6aa69b544a8f81d68596e89e9a3d6fa8 (diff)
downloadu-boot-imx-81f8d3b021ac9e567f06b44d7eb95f1a1409428d.zip
u-boot-imx-81f8d3b021ac9e567f06b44d7eb95f1a1409428d.tar.gz
u-boot-imx-81f8d3b021ac9e567f06b44d7eb95f1a1409428d.tar.bz2
hwconfig: Fix stop characters parsing for subkeys
For the following hwconfig string: key1:subkey1=value1,subkey2=value2;key2:value3 The subkey2 cannot be extracted correctly. The parsing code looks for comma as a stopch, but there may be two kind of stop characters: a comma and a semicolon. Currently the code would return "value2;key2:value3", while just "value2" is the correct answer. This patch fixes the issue by making the code aware of multiple stop characters. For old U-Boots, the issue can be workarounded by placing a comma before a semicolon, i.e.: hwconfig=key1:subkey1=value1,subkey2=value2,;key2:value3 Reported-by: York Sun <yorksun@freescale.com> Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Diffstat (limited to 'board/rbc823')
0 files changed, 0 insertions, 0 deletions