summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx28_evk/mx28_evk.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/board/freescale/mx28_evk/mx28_evk.c b/board/freescale/mx28_evk/mx28_evk.c
index cabb6f4..714cb67 100644
--- a/board/freescale/mx28_evk/mx28_evk.c
+++ b/board/freescale/mx28_evk/mx28_evk.c
@@ -52,17 +52,17 @@ static struct pin_desc mmc0_pins_desc[] = {
};
static struct pin_desc mmc1_pins_desc[] = {
- { PINID_SSP1_DATA0, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DATA1, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DATA2, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DATA3, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DATA4, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DATA5, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DATA6, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DATA7, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_CMD, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_DETECT, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
- { PINID_SSP1_SCK, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }
+ { PINID_GPMI_D00, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_D01, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_D02, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_D03, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_D04, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_D05, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_D06, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_D07, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_RDY1, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_RDY0, PIN_FUN2, PAD_8MA, PAD_3V3, 1 },
+ { PINID_GPMI_WRN, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }
};
static struct pin_group mmc0_pins = {
@@ -132,6 +132,9 @@ int get_mmc_env_devno()
}
#endif
+#define PINID_SSP0_GPIO_WP PINID_SSP1_SCK
+#define PINID_SSP1_GPIO_WP PINID_GPMI_RESETN
+
u32 ssp_mmc_is_wp(struct mmc *mmc)
{
return (mmc->block_dev.dev == 0) ?