]> git.dujemihanovic.xyz Git - u-boot.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)
commitbfc05d7e2af334c5907c38a94eddb18b5e92faaf
tree151967c3e2642d4a24a41bfa5d0f4a1201464caf
parentbc579291e2292c80e6018826fa5eefa453756b17
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