summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/sdmmc-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-09-25 14:29:00 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-09-25 14:31:39 +0200
commit9392d036c4ee29c251dd1e89cf8ced653972b6fd (patch)
treeeca45a48b5c5277554bc0ba1b095bcca0db2e1c6 /firmware/target/arm/imx233/sdmmc-imx233.c
parent46248b3df9133d00cf934372ca1da8314b389a60 (diff)
downloadrockbox-9392d036c4ee29c251dd1e89cf8ced653972b6fd.tar.gz
rockbox-9392d036c4ee29c251dd1e89cf8ced653972b6fd.tar.bz2
rockbox-9392d036c4ee29c251dd1e89cf8ced653972b6fd.zip
Initial commit for the sony NWZ-E360 and NWZ-E370
Change-Id: I52d21e136a98eaf481615d641795cf7ecf325465
Diffstat (limited to 'firmware/target/arm/imx233/sdmmc-imx233.c')
-rw-r--r--firmware/target/arm/imx233/sdmmc-imx233.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/sdmmc-imx233.c b/firmware/target/arm/imx233/sdmmc-imx233.c
index 708e3c2464..c81220166d 100644
--- a/firmware/target/arm/imx233/sdmmc-imx233.c
+++ b/firmware/target/arm/imx233/sdmmc-imx233.c
@@ -124,6 +124,15 @@ struct sdmmc_config_t sdmmc_config[] =
.ssp = 1,
.mode = SD_MODE,
},
+#elif defined(SONY_NWZE370) || defined(SONY_NWZE360)
+ /* The Sony NWZ-E370 uses #B1P29 for power */
+ {
+ .name = "internal/SD",
+ .flags = POWER_PIN | POWER_INVERTED | WINDOW,
+ .power_pin = PIN(1, 29),
+ .ssp = 2,
+ .mode = MMC_MODE
+ },
#else
#error You need to write the sd/mmc config!
#endif