1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/common
Simon Glass 65b2d96f4c bootstage: Avoid conflicts between stash/unstash
At present there is a single shared address for bootstage data in both
TPL and SPL. If SPL unstashs TPL bootstage info and then stashes it again
to pass it to U-Boot, the new stash overwrites the strings of the old
stash.

Fix this by duplicating the strings into the malloc() region. This should
be a small code. Fix the header-file order at the same time.

This problem doesn't happen at the next stage (SPL->U-Boot) since U-Boot
relocates the boostage data.

Signed-off-by: Simon Glass <sjg@chromium.org>
2019-10-27 10:56:51 -06:00
..
2019-08-11 16:43:41 -04:00
2019-07-24 13:16:29 -04:00
2019-08-11 16:43:41 -04:00
2019-10-27 10:56:51 -06:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2018-09-10 20:20:34 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-07-24 13:16:29 -04:00
2019-08-11 16:43:41 -04:00
2019-09-21 10:22:54 +02:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00