diff options
author | Dave Gerlach <d-gerlach@ti.com> | 2021-05-13 20:10:55 -0500 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2021-05-27 14:53:14 +0530 |
commit | beed30583ccdeb6cfc5d077bc2a73ad10084f4fc (patch) | |
tree | 31fe1bb49391c24d221d13d60bbee8436fc9c097 /drivers/firmware | |
parent | 4ec04073ab42cb61c54cf17809dec47bcea89f13 (diff) | |
download | u-boot-beed30583ccdeb6cfc5d077bc2a73ad10084f4fc.tar.gz u-boot-beed30583ccdeb6cfc5d077bc2a73ad10084f4fc.tar.bz2 u-boot-beed30583ccdeb6cfc5d077bc2a73ad10084f4fc.zip |
firmware: ti_sci: Update ti_sci_msg_req_reboot to include domain
The ti_sci_msg_req_reboot message payload has been extended to include a
domain field, but for the purposes of u-boot this should be zero to
reset the entire SoC as it did before. Include domain for completeness
and set to zero to ensure proper operation.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/ti_sci.c | 1 | ||||
-rw-r--r-- | drivers/firmware/ti_sci.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 2aec2e34d3..4671a5e3a8 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -1588,6 +1588,7 @@ static int ti_sci_cmd_core_reboot(const struct ti_sci_handle *handle) dev_err(info->dev, "Message alloc failed(%d)\n", ret); return ret; } + req.domain = 0; ret = ti_sci_do_xfer(info, xfer); if (ret) { diff --git a/drivers/firmware/ti_sci.h b/drivers/firmware/ti_sci.h index eec488f065..e4a087c2ba 100644 --- a/drivers/firmware/ti_sci.h +++ b/drivers/firmware/ti_sci.h @@ -137,12 +137,14 @@ struct ti_sci_msg_resp_version { /** * struct ti_sci_msg_req_reboot - Reboot the SoC * @hdr: Generic Header + * @domain: Domain to be reset, 0 for full SoC reboot. * * Request type is TI_SCI_MSG_SYS_RESET, responded with a generic * ACK/NACK message. */ struct ti_sci_msg_req_reboot { struct ti_sci_msg_hdr hdr; + u8 domain; } __packed; /** |