Skip to contentSkip to conversation

mx31: add "ARM11P power gating" to get_reset_cause

PATCH New Helmut Raiger 2 participants 6 messages Feb 16, 2012 – Mar 7, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx31: add "ARM11P power gating" to get_reset_cause

Add missing reset reason 7 to get_reset_cause().

---
 arch/arm/cpu/arm1136/mx31/generic.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/cpu/arm1136/mx31/generic.c +2 -0
index d60afc9..8873fb7 100644
@@ -210,6 +210,8 @@ static char *get_reset_cause(void)
 		return "WDOG";
 	case 0x0006:
 		return "JTAG";
+	case 0x0007:
+		return "ARM11P power gating";
 	default:
 		return "unknown reset";
 	}
Signature · 6 lines
1.7.4.4



--
Scanned by MailScanner.
#1 lore raw

PATCH 1/1 mx31: add "ARM11P power gating" to get_reset_cause

Quoted 12 lines · Helmut Raiger

Add missing reset reason 7 to get_reset_cause().

---
 arch/arm/cpu/arm1136/mx31/generic.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/cpu/arm1136/mx31/generic.c +0 -0
index d60afc9..8873fb7 100644

arch/arm/cpu/arm1136/mx31/generic.c static char *get_reset_cause(void) · line 217

Quoted 8 lines
arch/arm/cpu/arm1136/mx31/generic.c +2 -0
@@ -210,6 +210,8 @@ static char *get_reset_cause(void)
 		return "WDOG";
 	case 0x0006:
 		return "JTAG";
+	case 0x0007:
+		return "ARM11P power gating";
 	default:
 		return "unknown reset";
 	}

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
#2 lore raw

PATCH 1/1 mx31: add "ARM11P power gating" to get_reset_cause

In reply to Helmut Raiger
Quoted 12 lines · Helmut Raiger

Add missing reset reason 7 to get_reset_cause().

---
  arch/arm/cpu/arm1136/mx31/generic.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/cpu/arm1136/mx31/generic.c +0 -0
index d60afc9..8873fb7 100644

arch/arm/cpu/arm1136/mx31/generic.c static char *get_reset_cause(void) · line 217

Quoted 8 lines
arch/arm/cpu/arm1136/mx31/generic.c +2 -0
@@ -210,6 +210,8 @@ static char *get_reset_cause(void)
  		return "WDOG";
  	case 0x0006:
  		return "JTAG";
+	case 0x0007:
+		return "ARM11P power gating";
  	default:
  		return "unknown reset";
  	}

Please comment.
Helmut

--
Scanned by MailScanner.

#3 lore raw

PATCH 1/1 mx31: add "ARM11P power gating" to get_reset_cause

Quoted 4 lines · Helmut Raiger
Quoted 3 lines · Helmut Raiger

Add missing reset reason 7 to get_reset_cause().

Hi Helmut,

Quoted 4 lines
Quoted 4 lines
---
  arch/arm/cpu/arm1136/mx31/generic.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
Quoted 15 lines
Quoted 6 lines
arch/arm/cpu/arm1136/mx31/generic.c +0 -0
index d60afc9..8873fb7 100644

arch/arm/cpu/arm1136/mx31/generic.c static char *get_reset_cause(void) · line 217

Quoted 8 lines
arch/arm/cpu/arm1136/mx31/generic.c +2 -0
@@ -210,6 +210,8 @@ static char *get_reset_cause(void)
          return "WDOG";
      case 0x0006:
          return "JTAG";
+    case 0x0007:
+        return "ARM11P power gating";
      default:
          return "unknown reset";
      }

???

I have applied the patch and I sent an "applied to.." message. Which comment do you expect ?

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
#4 lore raw

PATCH 1/1 mx31: add "ARM11P power gating" to get_reset_cause

Quoted 5 lines · Stefano Babic

???

I have applied the patch and I sent an "applied to.." message. Which comment do you expect ?

Hi Stefano,

I received the applied to .. message at 11:16 today and this
e-mail at 11:49, the patch is from 3-weeks ago. I just wanted to push it, no more.

Might have been an e-mail glitch?
Thanx anyway,
Helmut

--
Scanned by MailScanner.

#5 lore raw

PATCH 1/1 mx31: add "ARM11P power gating" to get_reset_cause

Quoted 5 lines · Helmut Raiger

I received the applied to .. message at 11:16 today and this
e-mail at 11:49, the patch is from 3-weeks ago. I just wanted to push it, no more.

Might have been an e-mail glitch?

Of course, it is. We checked the status exactly at the same time. Very improbable, but it is happen. Rather it is not a lottery and we did not won anything ;-)

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================