From patchwork Tue Oct 23 10:21:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikram Narayanan X-Patchwork-Id: 193421 X-Patchwork-Delegate: albert.aribaud@free.fr 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 618D12C0100 for ; Tue, 23 Oct 2012 21:21:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 79D0E4A303; Tue, 23 Oct 2012 12:21:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 DUwY0Zu8G9iE; Tue, 23 Oct 2012 12:21:38 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5F4174A2F9; Tue, 23 Oct 2012 12:21:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4DBC14A2F9 for ; Tue, 23 Oct 2012 12:21:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 yF72BmIpPuUa for ; Tue, 23 Oct 2012 12:21:33 +0200 (CEST) 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-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by theia.denx.de (Postfix) with ESMTPS id 605094A2F6 for ; Tue, 23 Oct 2012 12:21:30 +0200 (CEST) Received: by mail-pa0-f44.google.com with SMTP id fb11so2476341pad.3 for ; Tue, 23 Oct 2012 03:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=jvzlSlibhfGNG1ZkZLWCQqB3vesdMvQGp5XPVRir3Aw=; b=XoJT1D1f4ucuQr+y+2RjEck87FaorqGlzMuShSMLHGT4U7IkrSiFsLxZlTW9FiXc/1 K/Ou2h9yEwsWPyr9tCUzx6BTjwlg7dadRjL/X2SNiJev8oUvb1RSAs+K4VUQPSOiXhRX tJwB924OqwXY/rpAoJhWIRIwa4Qpb0V9pfRYstQmhbew4W0S06/TbHqe/ZMqr5EqfHx8 V3P/bbi0siZu9IFh8Wxg4a/lvW4RGdfnZ7+ECd7yWOaKU9RXlFQciiKgCcG9JVNEyCOu ckmS+o26llIXAL9iro1kjGRz49G87pJNFMHU8CRWLI607x3I4TRWvzb/U40w2nQfT+hR K8jA== Received: by 10.66.75.165 with SMTP id d5mr33810611paw.39.1350987686312; Tue, 23 Oct 2012 03:21:26 -0700 (PDT) Received: from [115.184.15.192] ([115.184.15.192]) by mx.google.com with ESMTPS id bc8sm7499021pab.5.2012.10.23.03.21.23 (version=SSLv3 cipher=OTHER); Tue, 23 Oct 2012 03:21:25 -0700 (PDT) Message-ID: <50866F9C.1070608@gmail.com> Date: Tue, 23 Oct 2012 15:51:16 +0530 From: Vikram Narayanan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: u-boot@lists.denx.de References: <50866F38.4050308@gmail.com> In-Reply-To: <50866F38.4050308@gmail.com> Subject: [U-Boot] [PATCH 1/2] socfpga/spl: Remove timer_init from spl_board_init X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Timer is initialized already in board_init_r function in (common/spl/spl.c) No need to initialize it again Signed-off-by: Vikram Narayanan Cc: Dinh Nguyen --- arch/arm/cpu/armv7/socfpga/spl.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c index 944238b..23053fd 100644 --- a/arch/arm/cpu/armv7/socfpga/spl.c +++ b/arch/arm/cpu/armv7/socfpga/spl.c @@ -37,9 +37,6 @@ u32 spl_boot_device(void) */ void spl_board_init(void) { - /* init timer for enabling delay function */ - timer_init(); - /* de-assert reset for peripherals and bridges based on handoff */ reset_deassert_peripherals_handoff();