From 00c92b57f0773463dcd0e23c3b81c0f1f9e7dee1 Mon Sep 17 00:00:00 2001 From: Joonyoung Shim Date: Mon, 19 Oct 2009 20:37:18 +0900 Subject: [PATCH] s5pc110: aquila: remove code for CODEC_LDO_EN Signed-off-by: Joonyoung Shim --- board/samsung/universal/universal.c | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index f785061..2bab7f8 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -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(); -- 2.7.4