diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-06-02 13:05:08 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-10 16:52:58 -0600 |
commit | a2fa38da200cbd454bcb8dc7659bde00044302f7 (patch) | |
tree | dc3068e5466c4582bbc037c3d52800fce802496d /configs/db-mv784mp-gp_defconfig | |
parent | 7ef8e9b09a74567c529f168a4da5c1d5cffd58c2 (diff) |
trace: conserve gd register
An UEFI application may change the value of the register that gd lives in.
But some of our functions like get_ticks() access this register. So we
have to set the gd register to the U-Boot value when entering a trace
point and set it back to the application value when exiting the trace
point.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/db-mv784mp-gp_defconfig')
0 files changed, 0 insertions, 0 deletions