From patchwork Thu Mar 26 15:29:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 455074 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8390314012F for ; Fri, 27 Mar 2015 02:31:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1F0F04B67D; Thu, 26 Mar 2015 16:30:59 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id acF_SBUHIxaV; Thu, 26 Mar 2015 16:30:58 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5F6574B6AD; Thu, 26 Mar 2015 16:30:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C79CE4B668 for ; Thu, 26 Mar 2015 16:30:34 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2BEaAVCoCwoL for ; Thu, 26 Mar 2015 16:30:34 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-yk0-f201.google.com (mail-yk0-f201.google.com [209.85.160.201]) by theia.denx.de (Postfix) with ESMTPS id 6285A4B656 for ; Thu, 26 Mar 2015 16:30:29 +0100 (CET) Received: by ykq142 with SMTP id 142so3632367ykq.1 for ; Thu, 26 Mar 2015 08:30:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZdDlH0myQLhq7Xkq1lk1t/YctkIQvfm0vldtSXy9YZ4=; b=TSqgOl9XElFJqjXwQVEg29gIpyrSPqJl8ko16jq5mrsopz07rPjNYBDbxaKhVk3FU8 k969XrrK2ksJTWMsd2gDordpgFXR5WpCazchWGntTqAput8r0eE1iF6hVI6YK6hK24R3 fD1V8lH7Twm+lRvHJA3Gascb5c6w8z3TjZWV4WYU/X+9pk2xKOEbgOWjCsrsyLbV7p9A CMeGJjIsjqqNf5YL8J5Vtmbs6eJe15nl0VUE0xeB74nWj9KfihLKW6tTuOWAFiuxdV2Z 3V4zBuEUGXxJZDEMtIGrtUS5XtddP6cmflca/9HBZmxYc7qOaM6Z+OOnk5Txr2vWksxb AeUg== X-Gm-Message-State: ALoCoQmUJNvDomzd4dNmt4BP08N9EvwRFZDi7B+bbn9ZE881EkKmokLn/2VXbLXEG1nme7Wo/YUB X-Received: by 10.236.1.102 with SMTP id 66mr16285678yhc.28.1427383828215; Thu, 26 Mar 2015 08:30:28 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id 3si397841yhe.0.2015.03.26.08.30.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 08:30:28 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id NdAILUmj.1; Thu, 26 Mar 2015 08:30:28 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 9CC2D220685; Thu, 26 Mar 2015 09:30:27 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Thu, 26 Mar 2015 09:29:34 -0600 Message-Id: <1427383781-7151-11-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1427383781-7151-1-git-send-email-sjg@chromium.org> References: <1427383781-7151-1-git-send-email-sjg@chromium.org> Cc: Masahiro Yamada , Graeme Russ Subject: [U-Boot] [PATCH v2 10/17] x86: cros_ec: Drop unnecessary init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Since driver model will probe the EC when it is first used, we do not need to init it explicitly. Signed-off-by: Simon Glass --- Changes in v2: None board/coreboot/coreboot/coreboot.c | 5 ----- board/google/chromebook_link/link.c | 3 --- 2 files changed, 8 deletions(-) diff --git a/board/coreboot/coreboot/coreboot.c b/board/coreboot/coreboot/coreboot.c index e076ea6..7110f35 100644 --- a/board/coreboot/coreboot/coreboot.c +++ b/board/coreboot/coreboot/coreboot.c @@ -10,11 +10,6 @@ int arch_early_init_r(void) { -#ifdef CONFIG_CROS_EC - if (cros_ec_board_init()) - return -1; -#endif - return 0; } diff --git a/board/google/chromebook_link/link.c b/board/google/chromebook_link/link.c index 8c04cb8..1b97a8f 100644 --- a/board/google/chromebook_link/link.c +++ b/board/google/chromebook_link/link.c @@ -22,9 +22,6 @@ int arch_early_init_r(void) if (ret) return ret; - if (cros_ec_board_init()) - return -1; - return 0; }