PPC: U-Boot: fix gUBootOS offset

Since the removal of some other variables we were overwriting some random function.
This commit is contained in:
François Revol 2015-06-13 02:55:31 +02:00
parent ffb9ffb68d
commit 33c594f0c7

View File

@ -34,7 +34,7 @@ SYMBOL(_start_common):
lis %r12, gUBootGlobalData@ha
ori %r12, %r12, gUBootGlobalData@l
stw %r2, 0(%r12)
stw %r11, 8(%r12) // gUBootOS
stw %r11, gUBootOS-gUBootGlobalData(%r12) // gUBootOS
b start_linux_ppc_fdt