diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-26 09:53:30 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-04 14:19:56 -0500 |
commit | c6f548d232c47a1691124d05c90fe9fb652e6874 (patch) | |
tree | 3e84bee29b963c6b158a20d6a7fc438fc079a2ef /tools/img2srec.c | |
parent | 436e2b731979afc904b2a39f1b2fbb2370f08cb4 (diff) | |
download | u-boot-imx-c6f548d232c47a1691124d05c90fe9fb652e6874.zip u-boot-imx-c6f548d232c47a1691124d05c90fe9fb652e6874.tar.gz u-boot-imx-c6f548d232c47a1691124d05c90fe9fb652e6874.tar.bz2 |
fs: Use filesystem methods instead of switch()
We can use the available methods and avoid using switch(). When the
filesystem is not supported, we fall through to the 'unsupported'
methods: fs_probe_unsupported() prints an error, so the others do
not need to.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'tools/img2srec.c')
0 files changed, 0 insertions, 0 deletions