[Top] [All Lists]

[MIPS] Resolve use of non-existent GPIO routines in msp71xx reset

Subject: [MIPS] Resolve use of non-existent GPIO routines in msp71xx reset
From: Shane McDonald <>
Date: Mon, 27 Apr 2009 23:52:25 -0600
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:received:to:subject:cc :message-id:from:date; bh=z9Y9ULWu1rwg10w1BWuzAbyRbMIf3bXTL0gLKiD4dV0=; b=fY5jaWzZxzB9X2AH2OiCoaICfFzmb7Ab/Abvzc/9OPu/ByJkVRazPy0tHlOpb+V90f 8i4HD/zzg6xEXvaITbT4AV64htXekkkM2am0avJJk2NcLxuEJmuOA3fRVP1k6NDYcYlG JF/ZNk+7RzP2iesiZY8NAhu9MQD3UPbkygE5s=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=to:subject:cc:message-id:from:date; b=HPEjWSivUKm5dRItX1J2qssftvWtn8epuUZX3jBD3sc+PP9pRQI8ieq19sL9c9b0qp Fs1JEh22jwcF3QDNR4Y1TV98G650CFcCI542Maa2a14Mf5ZZUh0tlBvLR84wHXHVKw+s lOSyca2TAbZDK6Bv94yJjvkMMYeXHPnczCxdc=
Original-recipient: rfc822;
There have been a number of compile problems with the msp71xx
configuration ever since it was included in the
repository.  This patch resolves compilation problems with attempting
to reset the board using non-existent GPIO routines.

This patch has been compile-tested against the current HEAD.

Signed-off-by: Shane McDonald <>
 arch/mips/pmc-sierra/msp71xx/msp_setup.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/arch/mips/pmc-sierra/msp71xx/msp_setup.c 
index c936756..a54e85b 100644
--- a/arch/mips/pmc-sierra/msp71xx/msp_setup.c
+++ b/arch/mips/pmc-sierra/msp71xx/msp_setup.c
@@ -21,7 +21,6 @@
 #if defined(CONFIG_PMC_MSP7120_GW)
 #include <msp_regops.h>
-#include <msp_gpio.h>
@@ -88,11 +87,8 @@ void msp7120_reset(void)
         * as GPIO char driver may not be enabled and it would look up
         * data inRAM!
-       set_value_reg32(GPIO_CFG3_REG,
-                       basic_mode_mask(MSP_BOARD_RESET_GPIO),
-                       basic_mode(MSP_GPIO_OUTPUT, MSP_BOARD_RESET_GPIO));
-       set_reg32(GPIO_DATA3_REG,
-                       basic_data_mask(MSP_BOARD_RESET_GPIO));
+       set_value_reg32(GPIO_CFG3_REG, 0xf000, 0x8000);
+       set_reg32(GPIO_DATA3_REG, 8);
         * In case GPIO9 doesn't reset the board (jumper configurable!)

<Prev in Thread] Current Thread [Next in Thread>