diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-05-28 11:17:18 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-03 10:28:57 +1000 |
commit | bc5584c3145bc2029293674689275b55f87f246e (patch) | |
tree | b8643aae50b1014f40cca288a63a2350820b39d7 /core/opal.c | |
parent | bedb1c2343b2b1a71bee5f1f97e1aa29ace04eb8 (diff) | |
download | skiboot-bc5584c3145bc2029293674689275b55f87f246e.zip skiboot-bc5584c3145bc2029293674689275b55f87f246e.tar.gz skiboot-bc5584c3145bc2029293674689275b55f87f246e.tar.bz2 |
core/opal: Increase opal-msg-size size
Kernel will use `opal-msg-size` property to allocate memory for opal_msg.
We want to send bigger data from OPAL to kernel. Hence increase
opal-msg-size to 64K.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core/opal.c')
-rw-r--r-- | core/opal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/opal.c b/core/opal.c index 624e2a2..3a2fbb9 100644 --- a/core/opal.c +++ b/core/opal.c @@ -416,7 +416,7 @@ void add_opal_node(void) dt_add_property_strings(opal_node, "compatible", "ibm,opal-v3"); dt_add_property_cells(opal_node, "opal-msg-async-num", OPAL_MAX_ASYNC_COMP); - dt_add_property_cells(opal_node, "opal-msg-size", sizeof(struct opal_msg)); + dt_add_property_cells(opal_node, "opal-msg-size", OPAL_MSG_SIZE); dt_add_property_u64(opal_node, "opal-base-address", base); dt_add_property_u64(opal_node, "opal-entry-address", entry); dt_add_property_u64(opal_node, "opal-runtime-size", size); |