diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-20 12:23:42 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-29 09:38:05 -0600 |
commit | 6a3b5b54110980a42284beb05865436652113772 (patch) | |
tree | 2491338717205929d13d20dba2453d13c9d7c28b /env/sata.c | |
parent | d5079330f588a1aeedc734197124543bbc4e2d3c (diff) |
binman: Allow state functions to fail to return data
At present these state functions raise an exception if they cannot find
what is requested. But in some cases the information is optional (e.g. an
fdtmap in a coming patch) so it is better to return gracefully.
Update these two functions to return None when the data cannot be found.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env/sata.c')
0 files changed, 0 insertions, 0 deletions