From patchwork Thu Dec 19 18:08:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagannadha Sutradharudu Teki X-Patchwork-Id: 303633 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 754562C00B5 for ; Fri, 20 Dec 2013 05:11:48 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 085894A9CB; Thu, 19 Dec 2013 19:11:46 +0100 (CET) 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 GLnXiQ1RaAXL; Thu, 19 Dec 2013 19:11:45 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1C9AD4AA20; Thu, 19 Dec 2013 19:11:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2C4714A9F2 for ; Thu, 19 Dec 2013 19:10:55 +0100 (CET) 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 djqmQ5wW6uzo for ; Thu, 19 Dec 2013 19:10:50 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=SKIP(-1.5) (only DNSBL check requested) Received: from db8outboundpool.messaging.microsoft.com (mail-db8lp0185.outbound.messaging.microsoft.com [213.199.154.185]) by theia.denx.de (Postfix) with ESMTPS id 6B0054A987 for ; Thu, 19 Dec 2013 19:10:38 +0100 (CET) Received: from mail81-db8-R.bigfish.com (10.174.8.249) by DB8EHSOBE019.bigfish.com (10.174.4.82) with Microsoft SMTP Server id 14.1.225.22; Thu, 19 Dec 2013 18:10:27 +0000 Received: from mail81-db8 (localhost [127.0.0.1]) by mail81-db8-R.bigfish.com (Postfix) with ESMTP id 6F84BB80168; Thu, 19 Dec 2013 18:10:27 +0000 (UTC) X-Forefront-Antispam-Report: CIP:149.199.60.83; KIP:(null); UIP:(null); IPV:NLI; H:xsj-gw1; RD:unknown-60-83.xilinx.com; EFVD:NLI X-SpamScore: 1 X-BigFish: VPS1(zzzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah1fc6hzz1de098h8275bh1de097hz2fh95h839hd24hf0ah119dh1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h14ddh1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1b0ah224fh1d0ch1d2eh1d3fh1dfeh1dffh1e1dh1e23h1fe8h1ff5h2218h2216h226dh2327h2336h906i1155h) Received-SPF: pass (mail81-db8: domain of xilinx.com designates 149.199.60.83 as permitted sender) client-ip=149.199.60.83; envelope-from=jagannadha.sutradharudu-teki@xilinx.com; helo=xsj-gw1 ; helo=xsj-gw1 ; Received: from mail81-db8 (localhost.localdomain [127.0.0.1]) by mail81-db8 (MessageSwitch) id 138747662528834_31544; Thu, 19 Dec 2013 18:10:25 +0000 (UTC) Received: from DB8EHSMHS005.bigfish.com (unknown [10.174.8.247]) by mail81-db8.bigfish.com (Postfix) with ESMTP id 024E2C6004C; Thu, 19 Dec 2013 18:10:25 +0000 (UTC) Received: from xsj-gw1 (149.199.60.83) by DB8EHSMHS005.bigfish.com (10.174.4.15) with Microsoft SMTP Server id 14.16.227.3; Thu, 19 Dec 2013 18:10:24 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1) by xsj-gw1 with esmtp (Exim 4.63) (envelope-from ) id 1Vti3D-0004IL-Lu; Thu, 19 Dec 2013 10:10:23 -0800 From: Jagannadha Sutradharudu Teki To: Date: Thu, 19 Dec 2013 23:38:53 +0530 X-Mailer: git-send-email 1.8.3 In-Reply-To: <1387476560-22327-1-git-send-email-jaganna@xilinx.com> References: <1387476560-22327-1-git-send-email-jaganna@xilinx.com> X-RCIS-Action: ALLOW MIME-Version: 1.0 Message-ID: <2cbe320e-36cb-4ccc-9dad-23bef291154b@DB8EHSMHS005.ehs.local> X-OriginatorOrg: xilinx.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: Jagannadha@theia.denx.de, Sutradharudu Teki , Tom Rini Subject: [U-Boot] [PATCH v3 02/29] zynq: Enable Boot FreeBSD/vxWorks 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 This enabled Boot FreeBSD/vxWorks from an ELF image support Signed-off-by: Jagannadha Sutradharudu Teki --- V3: none V2: none include/configs/zynq.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/zynq.h b/include/configs/zynq.h index 6019c4a..0492818 100644 --- a/include/configs/zynq.h +++ b/include/configs/zynq.h @@ -130,6 +130,13 @@ #define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ #define CONFIG_OF_LIBFDT +/* Boot FreeBSD/vxWorks from an ELF image */ +#if defined(CONFIG_ZYNQ_BOOT_FREEBSD) +# define CONFIG_API +# define CONFIG_CMD_ELF +# define CONFIG_SYS_MMC_MAX_DEVICE 1 +#endif + /* Commands */ #include