From patchwork Fri Jan 3 10:10:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3431001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 81BDE9F295 for ; Fri, 3 Jan 2014 10:46:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7196F20122 for ; Fri, 3 Jan 2014 10:46:10 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 75331200F3 for ; Fri, 3 Jan 2014 10:46:09 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1l6-0007vk-Tp; Fri, 03 Jan 2014 10:13:42 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1kM-0003Mm-BI; Fri, 03 Jan 2014 10:12:54 +0000 Received: from mail-ea0-f178.google.com ([209.85.215.178]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1jP-0003A6-HH for linux-arm-kernel@lists.infradead.org; Fri, 03 Jan 2014 10:11:57 +0000 Received: by mail-ea0-f178.google.com with SMTP id d10so6808673eaj.9 for ; Fri, 03 Jan 2014 02:11:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:content-type; bh=82oBsY0GKlf6gGjZlrBvDYB9QPdMDo3BKGk0yRi1yJ4=; b=C5yx5zT/7uYAN2VVELu1nTQpXnFfZfcYdxfLT/OM4fW/00BywzCHQT2ZC1CdV6RdIU VE2G/J3pMxtpYBqqjZFD5f7DMYSbhBHYFDUZ7txXa6Ansb9ln5QOZvc+qwIFWtM4zDzs vrBbXdjek0D7Y2Bjv8EMkZ6o3YkYrsDgJBPBq7KTTm1OH1Hl6tqO7Il/ZaHgIyV9fMQo dkQULqxbnod9NB3loY5A7txhPeo5ykuzlB3P7EnL1QQqFPZCgLjF/YG7FEXoRDPPo1id S+QHgMRJFvCVXKWvFqUcPCjIjMVNOrGfuwLcKZWgkfAqAvCoLvd414HcQGbmcn4aMnmz ajZg== X-Gm-Message-State: ALoCoQlwndtC08YpckN1XutgMngcCJX2unBoIf2m/blMTf4hanyI0sDBb3fCHojTYLDxwTsC965Q X-Received: by 10.14.87.2 with SMTP id x2mr1428287eee.79.1388743893539; Fri, 03 Jan 2014 02:11:33 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id e3sm143614222eeg.11.2014.01.03.02.11.31 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:32 -0800 (PST) From: Michal Simek To: Michal Simek , u-boot@lists.denx.de, Joe Hershberger , linux-arm-kernel@lists.infradead.org, Albert Aribaud , Tom Rini Subject: [PATCH v1 07/24] zynq: Enable Boot FreeBSD/vxWorks Date: Fri, 3 Jan 2014 11:10:52 +0100 Message-Id: <18fc97ce09cb6da9342aaf41f9f52649ecaf8432.1388743861.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140103_051155_876322_B913DE75 X-CRM114-Status: GOOD ( 11.65 ) X-Spam-Score: -1.9 (-) Cc: Jagannadha Sutradharudu Teki X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jagannadha Sutradharudu Teki This enabled Boot FreeBSD/vxWorks from an ELF image support Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- Changes in v1: None include/configs/zynq.h | 7 +++++++ 1 file changed, 7 insertions(+) -- 1.8.2.3 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