Simon Glass
1aabe4ef2b
bootstd: Adjust code ordering to work around compiler quirk
...
At present when debugging is off, bootdev_find_in_blk() sometimes fails
to find a valid bootflow, e.g. with virtio. Accessing the 'blk' variable
later in the function seems to correct it.
Move the 'ret' check before the debug statement and set the block device
again aftewards, to work around this.
Signed-off-by: Simon Glass <sjg@chromium.org >
2023-04-26 08:43:05 -04:00
..
2022-01-19 18:11:34 +01:00
2022-09-29 16:07:57 -04:00
2023-04-26 08:43:05 -04:00
2023-01-16 18:26:50 -05:00
2023-01-16 18:26:51 -05:00
2023-03-08 11:40:49 -08:00
2022-09-29 16:07:57 -04:00
2023-04-04 14:50:47 -04:00
2023-01-23 18:11:40 -05:00
2023-01-23 18:11:40 -05:00
2023-04-26 08:43:04 -04:00
2023-01-23 18:11:41 -05:00
2023-02-06 13:04:53 -05:00
2022-04-25 10:00:04 -04:00
2023-01-23 18:11:41 -05:00
2023-01-23 18:11:41 -05:00
2022-09-18 10:26:33 +02:00
2023-01-23 18:11:39 -05:00
2021-11-11 19:01:56 -05:00
2023-01-16 18:26:50 -05:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2023-04-04 14:50:47 -04:00
2023-04-25 15:31:27 -04:00
2021-11-11 19:01:56 -05:00
2023-04-04 14:50:47 -04:00
2022-10-26 11:36:06 -04:00
2022-10-31 11:02:45 -04:00
2021-11-11 19:01:56 -05:00
2022-10-11 15:40:48 -04:00
2021-11-11 19:01:56 -05:00
2022-12-08 09:29:02 -05:00
2023-03-27 15:19:57 -04:00
2023-03-02 17:45:58 -05:00
2023-01-09 11:30:08 -05:00
2023-01-16 18:26:50 -05:00
2023-01-16 18:26:50 -05:00
2023-01-16 18:26:50 -05:00
2023-03-02 17:45:58 -05:00
2023-01-23 18:11:41 -05:00
2023-01-18 19:41:16 -05:00
2022-10-31 11:03:36 -04:00
2022-10-31 11:03:36 -04:00
2022-08-26 16:32:59 -06:00