remoteproc: k3_system_controller: Increase rx timeout
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 2 May 2019 10:05:52 +0000 (15:35 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 May 2019 00:22:05 +0000 (20:22 -0400)
There is one case where 400ms is not sufficient for loading the
system firmware:
- System firmware is not signed with rsa degenerate key.
- ROM loading the sysfw directly from SPI flash which is in memory
  mapped mode.

The above scenario is definitely not desired in production use cases
as it effects boot time. But still keeping this support as this is
a valid boot scenario.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/remoteproc/k3_system_controller.c

index 214ea18d8af8543136d45f297661be75e33ab11f..44e56c759fb0b849e3edefdac764b877b660a420 100644 (file)
@@ -301,7 +301,7 @@ static int k3_sysctrler_probe(struct udevice *dev)
 
 static const struct k3_sysctrler_desc k3_sysctrler_am654_desc = {
        .host_id = 4,                           /* HOST_ID_R5_1 */
-       .max_rx_timeout_us = 400000,
+       .max_rx_timeout_us = 800000,
        .max_msg_size = 60,
 };