]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: k3-ddrss: Handle error properly in lpddr4_start
authorUdit Kumar <u-kumar1@ti.com>
Thu, 29 Aug 2024 08:34:53 +0000 (14:04 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2024 14:17:54 +0000 (08:17 -0600)
commit541d21cf08ed318a6088d90a7db423b1e50e4038
treeefb169c950d0f9902e27d94c868c11cb19b459fe
parent1d2059560e21c35ecd6df2a34181216fba0d1e2e
ram: k3-ddrss: Handle error properly in lpddr4_start

In lpddr4_start function error returned by lpddr4_enablepiinitiator
may go undetected due to overwrite of return code.
Add support to handle error in above case.

Reported-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
drivers/ram/k3-ddrss/lpddr4.c