From: Lokesh Vutla Date: Thu, 2 May 2019 10:05:52 +0000 (+0530) Subject: remoteproc: k3_system_controller: Increase rx timeout X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d7b6cffa532eecfdc7cb87c2c65cd311344981f;p=project%2Fbcm63xx%2Fu-boot.git remoteproc: k3_system_controller: Increase rx timeout 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 --- diff --git a/drivers/remoteproc/k3_system_controller.c b/drivers/remoteproc/k3_system_controller.c index 214ea18d8a..44e56c759f 100644 --- a/drivers/remoteproc/k3_system_controller.c +++ b/drivers/remoteproc/k3_system_controller.c @@ -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, };