]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(ufs): adds timeout and error handling
authorAnand Saminathan <anans@google.com>
Fri, 10 Mar 2023 08:29:57 +0000 (08:29 +0000)
committerAnand Saminathan <anans@google.com>
Wed, 15 Mar 2023 09:53:12 +0000 (09:53 +0000)
commit2c5bce3833848dac4fbb2ae19be418145e68c8a1
treed3b6331265a6c20a51912d87df547764062278c2
parent1035e3a87a887e86b54c9d297208095dcf8303fb
feat(ufs): adds timeout and error handling

Adds a common function to poll for interrupt status which reports errors
and returns error codes

Signed-off-by: Anand Saminathan <anans@google.com>
Change-Id: Ie5df036dc979e984871de4ae7e974b994296ca4c
drivers/ufs/ufs.c
include/drivers/ufs.h