]> git.baikalelectronics.ru Git - uboot.git/commit
psci: Do not define do_poweroff() if CONFIG_SYSRESET_CMD_POWEROFF is enabled
authorMichal Simek <michal.simek@xilinx.com>
Tue, 13 Jul 2021 14:53:46 +0000 (16:53 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jul 2021 07:18:45 +0000 (09:18 +0200)
commitc257c6e26b2d319ea8cc8df73c7a6ea0ba454f84
tree151967c3e2642d4a24a41bfa5d0f4a1201464caf
parenta318989a82a13f4ee074f58b6c556cec5bacbde4
psci: Do not define do_poweroff() if CONFIG_SYSRESET_CMD_POWEROFF is enabled

CONFIG_SYSRESET_CMD_POWEROFF defines do_poweroff() in sysreset-uclass.c
that's why don't define it twice when both CONFIG_SYSRESET_CMD_POWEROFF and
CONFIG_CMD_POWEROFF are enabled. CONFIG_SYSRESET_CMD_POWEROFF depends on
CONFIG_CMD_POWEROFF.

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