Searched hist:"150678 a5820bed338c1c8de570c451bc77c15900" (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/common/ |
H A D | bootstage.c | diff 150678a5820bed338c1c8de570c451bc77c15900 Wed Apr 17 11:13:41 CDT 2013 Doug Anderson <dianders@chromium.org> bootstage: Copy bootstage strings post-relocation
Any pointers to name strings that were passed to bootstage_mark_name() pre-relocation should be copied post-relocation so that they don't get trashed as the original location of U-Boot is re-used for other purposes.
This change introduces a new API call that should be called from board_init_r() after malloc has been initted on any board that uses bootstage.
Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|
/openbmc/u-boot/include/ |
H A D | bootstage.h | diff 150678a5820bed338c1c8de570c451bc77c15900 Wed Apr 17 11:13:41 CDT 2013 Doug Anderson <dianders@chromium.org> bootstage: Copy bootstage strings post-relocation
Any pointers to name strings that were passed to bootstage_mark_name() pre-relocation should be copied post-relocation so that they don't get trashed as the original location of U-Boot is re-used for other purposes.
This change introduces a new API call that should be called from board_init_r() after malloc has been initted on any board that uses bootstage.
Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
|