This function should return 0 on success, not 1. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>