]> git.baikalelectronics.ru Git - uboot.git/commit
firmware: psci: Do not bind driver if U-Boot runs in EL3
authorMichal Simek <michal.simek@xilinx.com>
Thu, 13 Aug 2020 10:43:22 +0000 (12:43 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 Aug 2020 18:11:31 +0000 (14:11 -0400)
commit17920676a121e1dd0f127652ec004376884530a6
treee74f81cb34502d8c6d668a4c3e2697a70764ff83
parentc3b7119e96e6d0806fb61dee51f4eb86c020e951
firmware: psci: Do not bind driver if U-Boot runs in EL3

There is no reason to bind psci driver if U-Boot runs in EL3 because
SMC/HVC instructions can't be called. That's why detect this state and
don't let user to crash from prompt by performing reset or poweroff
commands (if enabled).

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/firmware/psci.c