s5pc110: aquila: remove code for CODEC_LDO_EN
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 19 Oct 2009 11:37:18 +0000 (20:37 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 19 Oct 2009 11:37:18 +0000 (20:37 +0900)
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
board/samsung/universal/universal.c

index f785061..2bab7f8 100644 (file)
@@ -151,18 +151,6 @@ static int machine_is_aquila(void)
        return board == MACH_AQUILA;
 }
 
-static int board_is_j1b2(void)
-{
-       int board;
-
-       if (cpu_is_s5pc100())
-               return 0;
-
-       board = gd->bd->bi_arch_number - C110_MACH_START;
-
-       return board == MACH_AQUILA && (board_rev & J1_B2_BOARD_FEATURE);
-}
-
 static int board_is_limo_universal(void)
 {
        int board;
@@ -430,17 +418,6 @@ static void enable_t_flash(void)
        gpio_direction_output(&gpio->gpio_mp0_5, 4, 1);
 }
 
-static void enable_codec_ldo(void)
-{
-       struct s5pc110_gpio *gpio = (struct s5pc110_gpio *)S5PC110_GPIO_BASE;
-
-       if (!(board_is_limo_universal() || board_is_j1b2()))
-               return;
-
-       /* CODEC_LDO_EN: XM0FRNB_2: MP0_3[6] output high */
-       gpio_direction_output(&gpio->gpio_mp0_3, 6, 1);
-}
-
 static void setup_limo_real_gpios(void)
 {
        struct s5pc110_gpio *gpio = (struct s5pc110_gpio *)S5PC110_GPIO_BASE;
@@ -451,9 +428,6 @@ static void setup_limo_real_gpios(void)
        /*
         * Note: Please write GPIO alphabet order
         */
-       /* CODEC_LDO_EN: XVVSYNC_LDI: GPF3[4] output high */
-       gpio_direction_output(&gpio->gpio_f3, 4, 1);
-
        if (hwrevision(0))
                /* RESET_REQ_N: XM0BEN_1: MP0_2[1] output high */
                gpio_direction_output(&gpio->gpio_mp0_2, 1, 1);
@@ -900,9 +874,6 @@ int misc_init_r(void)
        /* Enable T-Flash at Limo Universal */
        enable_t_flash();
 
-       /* Enable Codec LDO at Limo Universal an J1_B2 */
-       enable_codec_ldo();
-
        /* Setup Limo Real board GPIOs */
        setup_limo_real_gpios();