summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-06-02 14:05:08 +0300
committerSimon Glass <sjg@chromium.org>2019-07-11 01:52:58 +0300
commita2fa38da200cbd454bcb8dc7659bde00044302f7 (patch)
treedc3068e5466c4582bbc037c3d52800fce802496d /lib/Kconfig
parent7ef8e9b09a74567c529f168a4da5c1d5cffd58c2 (diff)
downloadu-boot-a2fa38da200cbd454bcb8dc7659bde00044302f7.tar.xz
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 'lib/Kconfig')
0 files changed, 0 insertions, 0 deletions