]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx7ulp: Only enable LDO if it is not already enabled
authorFabio Estevam <festevam@gmail.com>
Mon, 3 Feb 2020 12:01:09 +0000 (09:01 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Apr 2020 16:54:14 +0000 (18:54 +0200)
commitcbc81b735ea751def692bf40710c0116be3ee863
tree0b684b951f59990a83d5d04ce94e0c0a1ba6dfe4
parent2cfdb3bca7c452942fe6513b3ea12a45d5c58564
mx7ulp: Only enable LDO if it is not already enabled

LDO mode may be already enabled by the ROM and enabling it again
can cause U-Boot to hang.

Avoid this problem by only enabling LDO mode if it is initially disabled.

Reported-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mx7ulp/soc.c