Re: [U-Boot] [PATCH 2/3] sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass

2019-05-16 Thread Urja Rannikko
Hi, On Tue, May 14, 2019 at 4:07 PM Patrice CHOTARD wrote: > > Hi Urja > > This patch doesn't compile using the stm32mp15_trusted_defconfig > configuration: > > ... > LD drivers/pinctrl/built-in.o > LD drivers/core/built-in.o > LD drivers/mmc/built-in.o > LD

Re: [U-Boot] [PATCH 2/3] sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass

2019-05-14 Thread Patrice CHOTARD
Hi Urja This patch doesn't compile using the stm32mp15_trusted_defconfig configuration: ... LD drivers/pinctrl/built-in.o LD drivers/core/built-in.o LD drivers/mmc/built-in.o LD drivers/built-in.o drivers/sysreset/built-in.o: In function `do_poweroff':

[U-Boot] [PATCH 2/3] sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass

2019-05-13 Thread Urja Rannikko
This is a generic implementation. Add CONFIG_SYSRESET_CMD_POWEROFF to signal when we need it. Enable it from the STPMIC1 config and in sandbox. The config flag is transitionary, that is it can be removed after all poweroff implementations use sysreset, and just have CMD_POWEROFF depend on