aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2016-03-22 11:18:56 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-04-01 13:11:25 +1100
commitd65cfefe8a7888aedc90b91fd28b72bc7677d326 (patch)
tree23e2972d23e151ca5292dc366145baecac769141 /asm
parent9abe84f83212d6e92c8c3d15f73b8fa26b169fdc (diff)
downloadskiboot-d65cfefe8a7888aedc90b91fd28b72bc7677d326.zip
skiboot-d65cfefe8a7888aedc90b91fd28b72bc7677d326.tar.gz
skiboot-d65cfefe8a7888aedc90b91fd28b72bc7677d326.tar.bz2
hdata: Enable SPIRA-H
Update the SPIRA-H pointer in the NACA so that the FSP can build and pass the SPIRA-S structure to OPAL instead of the legacy SPIRA. Older systems (which does not support SPIRA-H) ignores SPIRA-H pointer and continue to pass legacy SPIRA. "spira" is a global structure and referred everywhere inside hdata dir. Once we enable SPIRA-H we get data in SPIRA-S area, not in legacy spira. Hence fixup spira structure, so that we don't break building device tree. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/head.S b/asm/head.S
index 192de55..5335846 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -737,7 +737,7 @@ init_replicated_sprs:
. = 0x4000
.global naca
naca:
- .llong 0 /* 0x0000 : Reserved */
+ .llong spirah /* 0x0000 : SPIRA-H */
.llong 0 /* 0x0008 : Reserved */
.llong 0 /* 0x0010 : Reserved */
.llong hv_release_data /* 0x0018 : HV release data */