From 6667da86ca1582222416defdcbf8e6d41bc03d28 Mon Sep 17 00:00:00 2001 From: Lily Zhang Date: Thu, 21 Jul 2011 18:08:07 +0800 Subject: ENGR00151310 mx53 smd: force warm reset as cold reset This patch is used to support watchdog timeout in SMD RevA, RevB board. 1. Revert "ENGR00143469 mx53 smd: pull down GPIO_9 to reset the board". 2. Force warm reset as cold reset. Signed-off-by: Lily Zhang --- cpu/arm_cortexa8/mx53/interrupts.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'cpu') diff --git a/cpu/arm_cortexa8/mx53/interrupts.c b/cpu/arm_cortexa8/mx53/interrupts.c index a39e7ff..0cc24db 100644 --- a/cpu/arm_cortexa8/mx53/interrupts.c +++ b/cpu/arm_cortexa8/mx53/interrupts.c @@ -36,25 +36,10 @@ int interrupt_init(void) void reset_cpu(ulong addr) { -#if defined(CONFIG_MX53_SMD) - unsigned int reg; -#endif - /* de-select SS0 of instance: eCSPI1 */ mxc_request_iomux(MX53_PIN_EIM_EB2, IOMUX_CONFIG_ALT1); /* de-select SS1 of instance: eCSPI1 */ mxc_request_iomux(MX53_PIN_EIM_D19, IOMUX_CONFIG_ALT1); -#if defined(CONFIG_MX53_SMD) - /* GPIO_1_9 */ - reg = readl(GPIO1_BASE_ADDR + 0x4); - reg |= (0x1 << 9); - writel(reg, GPIO1_BASE_ADDR + 0x4); - - reg = readl(GPIO1_BASE_ADDR); - reg &= ~0x200; - writel(reg, GPIO1_BASE_ADDR); -#else __REG16(WDOG1_BASE_ADDR) = 4; -#endif } -- cgit v1.1