diff options
author | John Scherzer <John.Scherzer@bluto.localdomain> | 2008-09-16 10:32:03 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2008-09-16 10:47:57 -0400 |
commit | 76df6b0e403a0e6703e144c5b79a3480cd6afd4e (patch) | |
tree | c2812a8a6ccf1035185fc32a879dc8928a65ed79 /arch/arm/mach-mx27/mx27lite_gpio.c | |
parent | 39917c7cc0c971909a2023d5960bd7abbbb67e4b (diff) |
Remove debugging printk messages from release2.6.24-mx27lite-200809161432
Diffstat (limited to 'arch/arm/mach-mx27/mx27lite_gpio.c')
-rw-r--r-- | arch/arm/mach-mx27/mx27lite_gpio.c | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/arch/arm/mach-mx27/mx27lite_gpio.c b/arch/arm/mach-mx27/mx27lite_gpio.c index cc8a4857e99b..7b53df1870ec 100644 --- a/arch/arm/mach-mx27/mx27lite_gpio.c +++ b/arch/arm/mach-mx27/mx27lite_gpio.c @@ -730,7 +730,6 @@ void gpio_keypad_inactive(void) */ void gpio_ata_active(void) { - printk("\n\nATA active, don't think this is right\n\n"); gpio_request_mux(MX27_PIN_ATA_DATA0, GPIO_MUX_PRIMARY); gpio_request_mux(MX27_PIN_ATA_DATA1, GPIO_MUX_PRIMARY); gpio_request_mux(MX27_PIN_ATA_DATA2, GPIO_MUX_PRIMARY); @@ -1168,44 +1167,10 @@ int sdhc_init_card_det(int id) int gpio_pcmcia_active(void) { - printk("Setting all pcmcia pins \n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x" - "\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x" - "\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x\n", - mxc_get_gpio_datain(MX27_PIN_PC_CD1_B), - mxc_get_gpio_datain(MX27_PIN_PC_CD2_B), - mxc_get_gpio_datain(MX27_PIN_PC_WAIT_B), - mxc_get_gpio_datain(MX27_PIN_PC_READY), - mxc_get_gpio_datain(MX27_PIN_PC_PWRON), - mxc_get_gpio_datain(MX27_PIN_PC_VS1), - mxc_get_gpio_datain(MX27_PIN_PC_VS1), - mxc_get_gpio_datain(MX27_PIN_PC_VS2), - mxc_get_gpio_datain(MX27_PIN_PC_BVD1), - mxc_get_gpio_datain(MX27_PIN_PC_BVD2), - mxc_get_gpio_datain(MX27_PIN_PC_RST), - mxc_get_gpio_datain(MX27_PIN_IOIS16), - mxc_get_gpio_datain(MX27_PIN_PC_RW_B), - mxc_get_gpio_datain(MX27_PIN_PC_POE)); - - printk("OUTPUT values 0x%08x, 0x%08x, 0x%08x, 0x%08x\n", - mxc_get_gpio_datain(MX27_PIN_TOUT), - mxc_get_gpio_datain(MX27_PIN_TIN), - mxc_get_gpio_datain(MX27_PIN_SSI4_FS), - mxc_get_gpio_datain(MX27_PIN_SSI4_RXDAT) ); gpio_request_mux(MX27_PIN_SSI4_FS,GPIO_MUX_GPIO); gpio_request_mux(MX27_PIN_SSI4_RXDAT,GPIO_MUX_GPIO); mxc_set_gpio_direction( MX27_PIN_SSI4_FS, 0 ); mxc_set_gpio_direction( MX27_PIN_SSI4_RXDAT, 0 ); - printk("OUTPUT values 0x%08x, 0x%08x, 0x%08x, 0x%08x\n", - mxc_get_gpio_datain(MX27_PIN_TOUT), - mxc_get_gpio_datain(MX27_PIN_TIN), - mxc_get_gpio_datain(MX27_PIN_SSI4_FS), - mxc_get_gpio_datain(MX27_PIN_SSI4_RXDAT) ); - - printk("OUTPUT values 0x%08x, 0x%08x, 0x%08x, 0x%08x\n", - mxc_get_gpio_datain(MX27_PIN_SSI3_FS), - mxc_get_gpio_datain(MX27_PIN_SSI3_RXDAT), - mxc_get_gpio_datain(MX27_PIN_SSI3_TXDAT), - mxc_get_gpio_datain(MX27_PIN_SSI3_CLK) ); gpio_request_mux( MX27_PIN_SSI3_FS, GPIO_MUX_OUTPUT1); gpio_request_mux( MX27_PIN_SSI3_RXDAT, GPIO_MUX_OUTPUT1); gpio_request_mux( MX27_PIN_SSI3_TXDAT, GPIO_MUX_OUTPUT1); @@ -1218,46 +1183,6 @@ int gpio_pcmcia_active(void) mxc_set_gpio_dataout( MX27_PIN_SSI3_RXDAT, 1); mxc_set_gpio_dataout( MX27_PIN_SSI3_TXDAT, 1); mxc_set_gpio_dataout( MX27_PIN_SSI3_CLK, 1); - printk("OUTPUT values 0x%08x, 0x%08x, 0x%08x, 0x%08x\n", - mxc_get_gpio_datain(MX27_PIN_SSI3_FS), - mxc_get_gpio_datain(MX27_PIN_SSI3_RXDAT), - mxc_get_gpio_datain(MX27_PIN_SSI3_TXDAT), - mxc_get_gpio_datain(MX27_PIN_SSI3_CLK) ); - - if ( - gpio_request_mux(MX27_PIN_PC_CD1_B, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_CD2_B, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_WAIT_B, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_READY, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_PWRON, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_VS1, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_VS2, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_BVD1, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_BVD2, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_RST, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_IOIS16, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_RW_B, GPIO_MUX_PRIMARY) || - gpio_request_mux(MX27_PIN_PC_POE, GPIO_MUX_PRIMARY) - ) - return -EINVAL; - printk("Setting all pcmcia pins \n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x" - "\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x" - "\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x\n\t0x%08x\n", - mxc_get_gpio_datain(MX27_PIN_PC_CD1_B), - mxc_get_gpio_datain(MX27_PIN_PC_CD2_B), - mxc_get_gpio_datain(MX27_PIN_PC_WAIT_B), - mxc_get_gpio_datain(MX27_PIN_PC_READY), - mxc_get_gpio_datain(MX27_PIN_PC_PWRON), - mxc_get_gpio_datain(MX27_PIN_PC_VS1), - mxc_get_gpio_datain(MX27_PIN_PC_VS1), - mxc_get_gpio_datain(MX27_PIN_PC_VS2), - mxc_get_gpio_datain(MX27_PIN_PC_BVD1), - mxc_get_gpio_datain(MX27_PIN_PC_BVD2), - mxc_get_gpio_datain(MX27_PIN_PC_RST), - mxc_get_gpio_datain(MX27_PIN_IOIS16), - mxc_get_gpio_datain(MX27_PIN_PC_RW_B), - mxc_get_gpio_datain(MX27_PIN_PC_POE)); - return 0; } |