Refactor this to avoid a loop. Also add a test for an empty string. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> |
||
|---|---|---|
| .. | ||
| test | ||
| .gitignore | ||
| __init__.py | ||
| dtb_platdata.py | ||
| dtoc | ||
| fdt.py | ||
| fdt_util.py | ||
| main.py | ||
| setup.py | ||
| src_scan.py | ||
| test_dtoc.py | ||
| test_fdt | ||
| test_fdt.py | ||
| test_src_scan.py | ||