projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc26957
)
powerpc/powernv: Fix OPAL debug entry
author
Benjamin Herrenschmidt
<
[email protected]
>
Sun, 21 Oct 2012 14:30:52 +0000
(14:30 +0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Thu, 15 Nov 2012 02:00:14 +0000
(13:00 +1100)
OPAL provides the firmware base/entry in registers at boot time
for debugging purposes. We had a bug in the code trying to stash
these into the appropriate kernel globals (a line of code was
probably dropped by accident back when this was merged)
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/kernel/head_64.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/head_64.S
b/arch/powerpc/kernel/head_64.S
index 58bddee8e1e8eea9a5cd5b8da113e9b7c0117dd6..694e3fa788573bbe1cf369b7f69b93f91123d47f 100644
(file)
--- a/
arch/powerpc/kernel/head_64.S
+++ b/
arch/powerpc/kernel/head_64.S
@@
-703,6
+703,7
@@
_INIT_STATIC(start_here_multiplatform)
#ifdef CONFIG_PPC_EARLY_DEBUG_OPAL
/* Setup OPAL entry */
+ LOAD_REG_ADDR(r11, opal)
std r28,0(r11);
std r29,8(r11);
#endif