Alexandru Gagniuc
917fa369f6
spl: fit: Factor out FIT parsing and use a context struct
...
The logical steps in spl_load_simple_fit() are difficult to follow.
I think the long comments, ifdefs, and ungodly number of variables
seriously affect the readability. In particular, it violates section 6
of the coding style, paragraphs (3), and (4).
The purpose of this patch is to improve the situation by
- Factoring out initialization and parsing to separate functions
- Reduce the number of variables by using a context structure
This change introduces no functional changes.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2021-02-17 17:12:45 -05:00
..
2018-05-07 09:34:12 -04:00
2021-02-02 15:33:42 -05:00
2021-02-17 17:12:45 -05:00
2020-05-18 21:19:18 -04:00
2021-02-02 15:33:42 -05:00
2020-08-24 14:11:13 -04:00
2020-05-18 21:19:23 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2019-12-02 18:23:13 -05:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-12-04 16:10:01 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-11-19 09:45:49 -05:00
2021-02-16 11:16:08 -05:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2021-01-31 14:08:56 +01:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2021-02-02 15:33:42 -05:00
2021-02-15 19:17:18 -05:00
2021-01-12 10:58:05 +05:30
2020-05-18 21:19:18 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2019-08-07 15:31:05 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-15 22:31:52 -05:00
2021-02-15 19:17:25 -05:00
2021-02-15 22:31:54 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-16 11:16:08 -05:00
2021-02-02 15:33:42 -05:00
2021-01-29 10:36:48 -05:00
2021-02-15 22:31:53 -05:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2018-04-27 14:54:48 -04:00
2020-12-03 21:22:49 +01:00
2021-01-16 14:49:09 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-05-07 09:01:42 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2021-02-15 22:31:52 -05:00
2020-06-28 01:03:09 +02:00
2021-02-16 11:16:07 -05:00
2021-02-15 22:31:52 -05:00
2020-12-13 16:51:09 -07:00
2021-02-16 11:16:08 -05:00
2021-01-06 07:57:33 -05:00
2020-05-18 21:19:23 -04:00
2020-10-22 09:54:53 -04:00