adjust vmac board functions to arch/arm/mach-rk30/board-rk31-sdk-vmac.c

This commit is contained in:
hwg
2013-08-10 16:32:04 +08:00
parent 8f3a71ed80
commit af39febbf3
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ static int rk30_rmii_io_init(void)
iomux_set(RMII_CLKOUT);
//rk3188 gpio3 and sdio drive strength ,
grf_writel(0x0f<16|0x0f,GRF_IO_CON3);
grf_writel(0x0f<<16|0x0f,GRF_IO_CON3);
//phy power gpio
err = gpio_request(PHY_PWR_EN_GPIO, "phy_power_en");

View File

@@ -1175,7 +1175,7 @@ struct platform_device pwm_regulator_device[1] = {
#ifdef CONFIG_RK29_VMAC
#define PHY_PWR_EN_GPIO RK30_PIN0_PC0
#define PHY_PWR_EN_VALUE GPIO_HIGH
#include "board-rk3188-sdk-vmac.c"
#include "../mach-rk30/board-rk31-sdk-vmac.c"
#endif