Browse Source

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
Simon Goldschmidt 5 years ago
parent
commit
cb20fe8f0b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/mach-socfpga/include/mach/reset_manager.h

+ 1 - 0
arch/arm/mach-socfpga/include/mach/reset_manager.h

@@ -11,6 +11,7 @@ void reset_cpu(ulong addr);
 void socfpga_per_reset(u32 reset, int set);
 void socfpga_per_reset_all(void);
 
+#define RSTMGR_CTRL_SWCOLDRSTREQ_LSB 0
 #define RSTMGR_CTRL_SWWARMRSTREQ_LSB 1
 
 /*