summaryrefslogtreecommitdiff
path: root/hardware.h
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@avencall.com>2012-07-26 21:30:04 +0200
committerGuillaume Knispel <gknispel@avencall.com>2012-07-26 21:30:04 +0200
commit9dc6c28545daf15e8f7e67e5fa9b5cf6730a0585 (patch)
tree6dd0ca8189df15c7486d438f3c8313979953b5cc /hardware.h
parent92a55b1a757353d598f2d79665f48a596a7593c2 (diff)
make power sequence work quite well
Properly reset the EP80579 by driving SYS_RESET_N inside the reset state machine and IMCH_RSMRST_N correctly back in the main state machine.
Diffstat (limited to 'hardware.h')
-rw-r--r--hardware.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/hardware.h b/hardware.h
index dfd7bbe..7c017f2 100644
--- a/hardware.h
+++ b/hardware.h
@@ -97,9 +97,10 @@ PxIES_INIT //Interrupt Edge Select (0=pos 1=neg)
// PORT2
#define P2OUT_INIT (CK410_PWR_GD_N | CPU_VCCP_EN_N | GREEN_LED_N \
- | RED_LED_N | IMCH_RSMRST_N | SYS_RESET_N)
-#define P2DIR_INIT (CPU_VCCP_EN_N | GREEN_LED_N | RED_LED_N)
-#define P2REN_INIT (CK410_PWR_GD_N | IMCH_RSMRST_N | SYS_RESET_N)
+ | RED_LED_N | SYS_RESET_N)
+#define P2DIR_INIT (CPU_VCCP_EN_N | GREEN_LED_N | RED_LED_N \
+ | IMCH_RSMRST_N)
+#define P2REN_INIT (CK410_PWR_GD_N | SYS_RESET_N)
#define P2SEL_INIT 0
#define P2IE_INIT 0
#define P2IES_INIT 0