From patchwork Thu Jul 17 13:09:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Przemyslaw Marczak X-Patchwork-Id: 371122 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 1395B140175 for ; Thu, 17 Jul 2014 23:13:47 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4D4B6A74D8; Thu, 17 Jul 2014 15:12:57 +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 q60CY86gPWV4; Thu, 17 Jul 2014 15:12:57 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D0EAFA751A; Thu, 17 Jul 2014 15:11:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6C8E0A74DE for ; Thu, 17 Jul 2014 15:10:50 +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 afIexkUCDLG1 for ; Thu, 17 Jul 2014 15:10:44 +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 mailout4.w1.samsung.com (mailout4.w1.samsung.com [210.118.77.14]) by theia.denx.de (Postfix) with ESMTPS id 805FBA74C7 for ; Thu, 17 Jul 2014 15:10:24 +0200 (CEST) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N8U00FXYXWPRF80@mailout4.w1.samsung.com> for u-boot@lists.denx.de; Thu, 17 Jul 2014 14:10:01 +0100 (BST) X-AuditID: cbfec7f4-b7fac6d000006cfe-93-53c7cb322ec6 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 5B.1C.27902.23BC7C35; Thu, 17 Jul 2014 14:10:10 +0100 (BST) Received: from AMDC1186.digital.local ([106.116.147.185]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N8U00LVNXWSX720@eusync2.samsung.com>; Thu, 17 Jul 2014 14:10:10 +0100 (BST) From: Przemyslaw Marczak To: u-boot@lists.denx.de Date: Thu, 17 Jul 2014 15:09:15 +0200 Message-id: <1405602561-11767-7-git-send-email-p.marczak@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1405602561-11767-1-git-send-email-p.marczak@samsung.com> References: <1405602561-11767-1-git-send-email-p.marczak@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFJMWRmVeSWpSXmKPExsVy+t/xK7pGp48HGzzsELXY3jiNzWLX3/uM Fjd+tbFavHm4mdFix+UbLBbrnqxltXi7t5Pdgd3j7J0djB77z4p79G1ZxRjAHMVlk5Kak1mW WqRvl8CVcWDGY8aCS6wVLU3ODYyPWboYOTkkBEwkeg93MUPYYhIX7q1n62Lk4hASWMoosaF3 KyNIQkigj0li8jFZEJtNwEBiz6UzYA0iAhISv/qvMoI0MAv8YpRY07sIbKqwgK/E5v6LYDaL gKrE9b9LWLsYOTh4BVwlDja7QyyTkzh5bDIriM0p4CZxdP5dFohdrhLrPh5nmsDIu4CRYRWj aGppckFxUnquoV5xYm5xaV66XnJ+7iZGSPh82cG4+JjVIUYBDkYlHt7Oz8eChVgTy4orcw8x SnAwK4nwbus6HizEm5JYWZValB9fVJqTWnyIkYmDU6qBUSYpodZSr8+3J61e6ya7VtH/+FyF 3XZ1XyPtNi37FDbXoPGsctLM7GzNPPPKtpdC4ixvVy0Ozde4vM/sLqu1fcrtd3Msm4/Pubxz jvSiWXbJTizTvFO37WgQz3fYdMKyU2KNeNi9hZ0GK3ZwTknTnpVmIry6mVWoQ9F1peD0ut0C l690r1dTYinOSDTUYi4qTgQA/AWXoP0BAAA= Cc: Piotr Wilczek , Jaehoon Chung , Przemyslaw Marczak Subject: [U-Boot] [PATCH v5 06/12] samsung:board: misc_init_r: call set_dfu_alt_info() 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This change enable automatic setting of dfu alt info on every boot. This is useful in case of booting one u-boot binary from multiple media. Signed-off-by: Przemyslaw Marczak --- board/samsung/common/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 4d3f216..a46e87b 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -324,6 +324,9 @@ int arch_early_init_r(void) #ifdef CONFIG_MISC_INIT_R int misc_init_r(void) { +#ifdef CONFIG_SET_DFU_ALT_INFO + set_dfu_alt_info(); +#endif #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG set_board_info(); #endif