From patchwork Thu Dec 29 05:44:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chee, Tien Fong" X-Patchwork-Id: 709469 X-Patchwork-Delegate: marek.vasut@gmail.com 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 3tpzCg4zq4z9sBR for ; Thu, 29 Dec 2016 16:47:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 239C5A75F3; Thu, 29 Dec 2016 06:46:58 +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 EKfO0zxQ2sL8; Thu, 29 Dec 2016 06:46:58 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5DA83B39C6; Thu, 29 Dec 2016 06:46:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 136FFB3965 for ; Thu, 29 Dec 2016 06:46:32 +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 RFbKdLpagpEC for ; Thu, 29 Dec 2016 06:46:32 +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 mga11.intel.com (mga11.intel.com [192.55.52.93]) by theia.denx.de (Postfix) with ESMTPS id 0A809B39A1 for ; Thu, 29 Dec 2016 06:46:07 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 28 Dec 2016 21:46:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.33,425,1477983600"; d="scan'208"; a="1105494573" Received: from unknown (HELO chee-tien-fong.png.intel.com) ([10.226.249.212]) by fmsmga002.fm.intel.com with ESMTP; 28 Dec 2016 21:46:04 -0800 From: Chee Tien Fong To: u-boot@lists.denx.de Date: Thu, 29 Dec 2016 13:44:42 +0800 Message-Id: <1482990285-3448-14-git-send-email-tien.fong.chee@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482990285-3448-1-git-send-email-tien.fong.chee@intel.com> References: <1482990285-3448-1-git-send-email-tien.fong.chee@intel.com> Cc: Marek Vasut , Chin Liang See Subject: [U-Boot] [PATCH v2 14/30] arm: socfpga: arria10: remove board_init and s_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" From: Dinh Nguyen These functions are already in arch/arm/mach-socfpga/board.c Signed-off-by: Dinh Nguyen --- board/altera/arria10-socdk/socfpga.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/board/altera/arria10-socdk/socfpga.c b/board/altera/arria10-socdk/socfpga.c index abedc22..8516633 100644 --- a/board/altera/arria10-socdk/socfpga.c +++ b/board/altera/arria10-socdk/socfpga.c @@ -5,20 +5,3 @@ */ #include -#include - -DECLARE_GLOBAL_DATA_PTR; - -void s_init(void) -{ -} - -/* - * Miscellaneous platform dependent initialisations - */ -int board_init(void) -{ - /* Address of boot parameters for ATAG (if ATAG is used) */ - gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; - return 0; -}