Hi Wolfram,

On Tue, Feb 22, 2011 at 9:58 AM, Wolfram Sang <w.s...@pengutronix.de> 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to