From patchwork Tue Jan 31 11:17:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 721909 X-Patchwork-Delegate: trini@ti.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 3vCNzv71Jrz9s4q for ; Tue, 31 Jan 2017 22:18:35 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=bidouilliste.com header.i=@bidouilliste.com header.b="TSUgICU4"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 91C434B7E2; Tue, 31 Jan 2017 12:18:17 +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 miyC1IAifZkk; Tue, 31 Jan 2017 12:18:17 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3BFEF4B7F1; Tue, 31 Jan 2017 12:17:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0225C4B55F for ; Tue, 31 Jan 2017 12:17:45 +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 Bl67cZv3j4Wh for ; Tue, 31 Jan 2017 12:17:44 +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 mail.blih.net (mail.blih.net [212.83.177.182]) by theia.denx.de (Postfix) with ESMTPS id C463F4B1FE for ; Tue, 31 Jan 2017 12:17:44 +0100 (CET) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 40451477 for ; Tue, 31 Jan 2017 12:17:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=from :to:cc:subject:date:message-id:in-reply-to:references; s=mail; bh=JIevU5EXdFaEsNPRZvjGou6WGwk=; b=TSUgICU4On8NersKGJFYOcaZ5TH6 vKiaj5n+f3BhyV2rSyeq7UCQ9C/SOlbVM3bq5/7J6gS2gYsziiqy2yYrcxX7LJZ+ yXZNzEIQwSL5KVdpbj/lOuWpcBp3pXLGsWP0drn5ZFnp6l5WhPa8CaAewAOgEwQe FV7Ksztks6BO5Sg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=from:to :cc:subject:date:message-id:in-reply-to:references; q=dns; s= mail; b=feCQqZMs7654ZrRxcutrC44scsnZygS8xNH8dtcKy1mySRB8njjjeXP0 7pHIf/MACuD/R/5XrDFUH25+OU315r/A4skjI7j7sz7rKhuxy9PgiwmLomYF9ext ipz9YRbBWMSaUkL7Yf4vYNYypqegc+hkPSxqZPmJ4hPyFQwgRHM= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id cdf3d062 TLS version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO for ; Tue, 31 Jan 2017 12:17:15 +0100 (CET) Received: from elbarto (uid 1001) (envelope-from manu@bidouilliste.com) id 76c0a by knuckles.blih.net (DragonFly Mail Agent v0.11); Tue, 31 Jan 2017 12:17:13 +0100 From: Emmanuel Vadot To: sjg@chromium.org, yamada.masahiro@socionext.com, michal.simek@xilinx.com, sr@denx.de, rpjday@crashcourse.ca, ravibabu@ti.com, hdegoede@redhat.com, stefan.agner@toradex.com, sgalabov@gmail.com, bmeng.cn@gmail.com, imp@freebsd.org, hs@denx.de, jagan@amarulasolutions.com, grinberg@compulab.co.il, siva.durga.paladugu@xilinx.com, van.freenix@gmail.com, lokeshvutla@ti.com, agraf@suse.de, swarren@nvidia.com, afaerber@suse.de Date: Tue, 31 Jan 2017 12:17:08 +0100 Message-Id: <20170131111708.12614-6-manu@bidouilliste.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170131111708.12614-1-manu@bidouilliste.com> References: <20170131111708.12614-1-manu@bidouilliste.com> Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v4 5/5] kconfig: Add a DISTRO_FREEBSD option 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" Add a FreeBSD option that enables the API and the data cache command as both are needed to boot the FreeBSD loader. Signed-off-by: Emmanuel Vadot --- common/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 9067d1e277..a24cfa996a 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -430,4 +430,15 @@ config BOARD_EARLY_INIT_F endmenu +config DISTRO_FREEBSD + bool "Enable FreeBSD boot" + select API + select CMD_CACHE + default n + help + This options adds boot configuration that can run the FreeBSD + loader. When enabled the distro_bootcmd will be expanded to + include scan_dev_for_freebsd which search for the FreeBSD loader + and if found run it. + source "common/spl/Kconfig"