751fed42 | 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
sysreset: Add a way to find the last reset
We have a method to return the last reset as a string for humans, but not a method that allows it to be used programmatically. Add a new method that return
sysreset: Add a way to find the last reset
We have a method to return the last reset as a string for humans, but not a method that allows it to be used programmatically. Add a new method that returns the last reset as an enum.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
cae39ae3 | 13-Jul-2018 |
Michal Simek <michal.simek@xilinx.com> |
sysreset: Add support for Microblaze soft reset jump
Microblaze is storing reset vector at address 0x0. It means soft reset can be done by just jumping to this address. This code was in platform cod
sysreset: Add support for Microblaze soft reset jump
Microblaze is storing reset vector at address 0x0. It means soft reset can be done by just jumping to this address. This code was in platform code but sysreset interface is providing enough capabilities to have more options how to reset the system. It can go from gpio reset through watchdog reset till soft reset.
The driver has not compatible string because this is cpu specific and DM core is not able to detect compatible string in DT root that's why this driver will be instantiated from platform code by calling device_bind_driver(gd->dm_root, "mb_soft_reset", "reset_soft", NULL); It should be bind as the last reset method to ensure that hw reset is called before this.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|
f9ee5726 | 21-Nov-2017 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
rockchip: sysreset: update Makefile to work with merged sysreset driver
After applying the merged sysreset driver, there are build failures due to an out-of-sync Makefile. This updates drivers/sysre
rockchip: sysreset: update Makefile to work with merged sysreset driver
After applying the merged sysreset driver, there are build failures due to an out-of-sync Makefile. This updates drivers/sysreset/Makefile to address these build failures.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
show more ...
|