Re: [PATCH 4/5] arm: mach-mx3: pcm043: add write-protect and card-detect for SD1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wolfram,

On Tue, Feb 22, 2011 at 9:58 AM, Wolfram Sang <w.sang@xxxxxxxxxxxxxx> wrote:
...
> Â#define AC97_GPIO_TXFS (1 * 32 + 31)
> Â#define AC97_GPIO_TXD Â(1 * 32 + 28)
> Â#define AC97_GPIO_RESET Â Â Â Â(1 * 32 + 0)
>
> +#define SD1_GPIO_WP Â Â(1 * 32 + 23)
> +#define SD1_GPIO_CD Â Â(1 * 32 + 24)

You could also do:

+#define SD1_GPIO_WP    IMX_GPIO_NR(2, 23)
+#define SD1_GPIO_CD     IMX_GPIO_NR(2, 24)

Regards,

Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux