Sean Anderson
6cc2182c84
spl: nor: Don't allocate header on stack
...
spl_image_info.name contains a reference to legacy_img_hdr. If we allocate
the latter on the stack, it will be clobbered after we return. This was
addressed for NAND back in 06377c5a1fc ("spl: spl_legacy: Fix NAND boot on
OMAP3 BeagleBoard"), but that commit didn't fix NOR.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
2023-10-17 20:50:52 -04:00
..
2023-10-06 14:38:12 -04:00
2023-10-17 20:50:52 -04:00
2023-01-20 12:27:06 -05:00
2023-02-17 10:51:28 -05:00
2023-10-06 14:38:13 -04:00
2023-10-06 14:38:13 -04:00
2021-07-14 16:48:00 -04:00
2023-10-06 14:38:12 -04:00
2023-10-06 14:38:12 -04:00
2023-08-22 15:17:52 -04:00
2023-03-28 09:25:51 -04:00
2023-09-14 10:42:24 -04:00
2023-10-11 15:43:54 -04:00
2023-03-30 15:09:59 -04:00
2023-01-20 12:27:24 -05:00
2023-08-02 16:32:31 +08:00
2022-11-02 08:42:03 +01:00
2023-09-24 09:54:57 -04:00
2023-10-11 13:22:29 -04:00
2022-01-19 18:11:34 +01:00
2023-09-14 10:42:24 -04:00
2022-08-04 16:18:47 -04:00
2023-09-14 10:42:24 -04:00
2022-08-20 18:12:51 -04:00
2021-08-02 13:32:14 -04:00
2023-10-11 13:22:32 -04:00
2022-01-18 08:31:02 -05:00
2023-07-17 17:23:15 +08:00
2023-07-17 17:12:07 +08:00
2023-03-14 16:08:51 -06:00
2023-10-06 14:38:12 -04:00
2022-04-11 10:00:30 -04:00
2023-06-21 16:54:25 -04:00
2023-06-23 14:38:16 -04:00
2022-03-25 12:01:15 +00:00
2023-02-06 13:04:53 -05:00
2023-07-21 13:13:43 -04:00
2023-04-24 21:37:45 +02:00
2023-10-09 15:24:31 -04:00
2023-09-24 09:54:57 -04:00
2023-02-07 14:33:50 -05:00
2022-09-18 10:26:33 +02:00
2023-01-12 16:19:53 +01:00
2023-10-10 16:19:29 -04:00
2023-05-13 09:52:32 -04:00
2022-09-18 10:26:33 +02:00