mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-25 07:41:40 +02:00
arm: socfpga: rst: add register definition for cold reset
This adds a define for the bit in rstmgr's ctrl regiser that issues a cold reset (we had a define for the warm reset bit only) in preparation for a proper sysrese driver. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Series changes: 2 - separate this patch to the register descriptions from the actual sysreset driver patch
This commit is contained in:
parent
285b3cb939
commit
cb20fe8f0b
@ -11,6 +11,7 @@ void reset_cpu(ulong addr);
|
|||||||
void socfpga_per_reset(u32 reset, int set);
|
void socfpga_per_reset(u32 reset, int set);
|
||||||
void socfpga_per_reset_all(void);
|
void socfpga_per_reset_all(void);
|
||||||
|
|
||||||
|
#define RSTMGR_CTRL_SWCOLDRSTREQ_LSB 0
|
||||||
#define RSTMGR_CTRL_SWWARMRSTREQ_LSB 1
|
#define RSTMGR_CTRL_SWWARMRSTREQ_LSB 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user