summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/sd-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/sd-imx233.c')
-rw-r--r--firmware/target/arm/imx233/sd-imx233.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/sd-imx233.c b/firmware/target/arm/imx233/sd-imx233.c
index d3c29ee5be..8928faf3f9 100644
--- a/firmware/target/arm/imx233/sd-imx233.c
+++ b/firmware/target/arm/imx233/sd-imx233.c
@@ -62,6 +62,28 @@ struct sd_config_t sd_config[] =
62 .power_pin = PIN(0, 8), 62 .power_pin = PIN(0, 8),
63 .ssp = 1 63 .ssp = 1
64 }, 64 },
65#elif defined(CREATIVE_ZENXFI2)
66 /* The Zen X-Fi2 uses pin B1P29 for power*/
67 {
68 .name = "microSD",
69 .flags = POWER_PIN | REMOVABLE | DETECT_INVERTED,
70 .power_pin = PIN(1, 29),
71 .ssp = 1,
72 },
73#elif defined(CREATIVE_ZENXFI3)
74 {
75 .name = "internal/SD",
76 .flags = WINDOW,
77 .ssp = 2
78 },
79 /* The Zen X-Fi3 uses pin #B0P07 for power*/
80 {
81 .name = "microSD",
82 .flags = POWER_PIN | POWER_INVERTED | REMOVABLE | POWER_DELAY,
83 .power_pin = PIN(0, 7),
84 .power_delay = HZ / 10, /* extra delay, to ramp up voltage? */
85 .ssp = 1
86 },
65#else 87#else
66#error You need to write the sd config! 88#error You need to write the sd config!
67#endif 89#endif