summaryrefslogtreecommitdiff
path: root/board/samsung/odroid/odroid.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-11-05 07:46:45 -0500
committerTom Rini <trini@konsulko.com>2015-11-05 07:46:45 -0500
commit60b25259a5540686add02cf6c94cd7494a3e2d23 (patch)
treeabccf513238a9bab314b4672858512801da85580 /board/samsung/odroid/odroid.c
parent1674942ad777bc1ae26fe93684836dcd8820f47f (diff)
parent58cb44cf6623faeebd9b04ac44cf11d2eb39ea36 (diff)
Merge git://git.denx.de/u-boot-samsung
Diffstat (limited to 'board/samsung/odroid/odroid.c')
-rw-r--r--board/samsung/odroid/odroid.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
index 32155f1184..36d493d514 100644
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
@@ -33,13 +33,6 @@ enum {
ODROID_TYPES,
};
-static const char *mmc_regulators[] = {
- "VDDQ_EMMC_1.8V",
- "VDDQ_EMMC_2.8V",
- "TFLASH_2.8V",
- NULL,
-};
-
void set_board_type(void)
{
/* Set GPA1 pin 1 to HI - enable XCL205 output */
@@ -428,6 +421,13 @@ int exynos_init(void)
int exynos_power_init(void)
{
+ const char *mmc_regulators[] = {
+ "VDDQ_EMMC_1.8V",
+ "VDDQ_EMMC_2.8V",
+ "TFLASH_2.8V",
+ NULL,
+ };
+
if (regulator_list_autoset(mmc_regulators, NULL, true))
error("Unable to init all mmc regulators");
@@ -450,7 +450,6 @@ static int s5pc210_phy_control(int on)
return regulator_set_mode(dev, OPMODE_ON);
else
return regulator_set_mode(dev, OPMODE_LPM);
-
}
struct s3c_plat_otg_data s5pc210_otg_data = {