summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-11-29 20:00:13 -0700
committerJagan Teki <jagan@amarulasolutions.com>2016-12-15 16:38:30 +0100
commit1b7c28f5147144d7902d048ca90be58987899c25 (patch)
tree3aea2c3fb0459349b33d04a5daaf950d68210d0d /Makefile
parentf06e1588fbd18a03ad0ed0c1b3f82ab4e9d9a6c9 (diff)
downloadu-boot-imx-1b7c28f5147144d7902d048ca90be58987899c25.zip
u-boot-imx-1b7c28f5147144d7902d048ca90be58987899c25.tar.gz
u-boot-imx-1b7c28f5147144d7902d048ca90be58987899c25.tar.bz2
spi: Add error checking for invalid bus widths
At present an invalid bus width prints a message but does not return an error. This is the opposite of the correct behaviour. Adjust it to avoid code bloat in the common case, and avoid hard-to-debug failure in the uncommon case. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions