From patchwork Fri Feb 19 19:25:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 62380 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1338840lbl; Fri, 19 Feb 2016 11:25:43 -0800 (PST) X-Received: by 10.28.21.14 with SMTP id 14mr10449399wmv.39.1455909943265; Fri, 19 Feb 2016 11:25:43 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id d124si14717595wmf.75.2016.02.19.11.25.42; Fri, 19 Feb 2016 11:25:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8FDCFA76A5; Fri, 19 Feb 2016 20:25:42 +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 ZC9AwcKpNYpT; Fri, 19 Feb 2016 20:25:42 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BE3BCA75BA; Fri, 19 Feb 2016 20:25:41 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3FCDDA75BA for ; Fri, 19 Feb 2016 20:25:39 +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 HD54Gkp6wtut for ; Fri, 19 Feb 2016 20:25:39 +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-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by theia.denx.de (Postfix) with ESMTPS id 088D6A745C for ; Fri, 19 Feb 2016 20:25:35 +0100 (CET) Received: by mail-lb0-f175.google.com with SMTP id x1so52755215lbj.3 for ; Fri, 19 Feb 2016 11:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/wbYesl4tf2XsuRojNxZnWX/5duamSzkiCwQdtRKyIU=; b=IjP7ZeZbYL8MUFBUn5OiwjL5P9qJr0S1wDyAESnmcLYCoQnYoeQeO0H+xQ0YlhCRGj Ddvnei0I5eYHK2A7YMMN1PmTi/Wa/yca4Hu/5aog85z5bjr6RhpZc5vzVeMlnt3Wa9Ox oRhSwK5qf5o5WXnvdSfNOEuTU0+b0VXrh2awQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/wbYesl4tf2XsuRojNxZnWX/5duamSzkiCwQdtRKyIU=; b=XwzyPWHok77emkW7OELPYcho21qlQtJDh2ueSUQ4vRuFUokPlzVePXHh2cAnAmzGVj OqJtVnrkvQSnn9TpapLI0C3y6nD9TT6X1qZxJ1U2IoXHy8/6eaLjmJFRs/0LOeVm/5Ez 5B3ico1ceVvuOd+YrWDKM605GnndRi+XpiB2pxQ9ksfHf0qzxg+dyKaKMVsGE87zISqw 87fbyfKsnb4yqWKsL3wx8HDCGgV3uYax3Ti9B86Bke/1kiUgXbKODbkPvUSeSL94wK9Q 0qn9HNVKYvhrJ/QhZ0z3IqcZgZmT0q8RJoFlg+goQR+Z/fmBIisEE6JPBo1pvLMyR7nD XwKw== X-Gm-Message-State: AG10YOTXNaCPN4Jj58UqtJbXGNYgkDuqq4NTVwndoYzPWsXr5h35hF9t+1UlTFHwkgkSZRFq X-Received: by 10.112.154.167 with SMTP id vp7mr6018445lbb.0.1455909935094; Fri, 19 Feb 2016 11:25:35 -0800 (PST) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id 37sm1687937lfs.3.2016.02.19.11.25.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Feb 2016 11:25:34 -0800 (PST) From: Semen Protsenko To: u-boot@lists.denx.de Date: Fri, 19 Feb 2016 21:25:31 +0200 Message-Id: <1455909933-18961-1-git-send-email-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.7.0 Cc: Tom Rini , Praneeth Bajjuri , Joe Hershberger Subject: [U-Boot] [PATCH 1/3] omap5: Kconfig: Add option to select Android boot 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: Sam Protsenko We need to differentiate somehow if u-boot build is intended for Android or regular Linux boot. Android requires some specific details from bootloader, such as enabled fastboot and specific partition table. Using this option we can check if user chose Android boot and configure those details properly. Signed-off-by: Sam Protsenko --- arch/arm/cpu/armv7/omap5/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/cpu/armv7/omap5/Kconfig b/arch/arm/cpu/armv7/omap5/Kconfig index bfa264e..e03daff 100644 --- a/arch/arm/cpu/armv7/omap5/Kconfig +++ b/arch/arm/cpu/armv7/omap5/Kconfig @@ -21,6 +21,14 @@ endchoice config SYS_SOC default "omap5" +config ANDROID_BOOT + bool "Android boot" + default n + help + This option enables Android build. Different boards can rely on this + option to provide Android partition list, enable fastboot capability + and so on. + source "board/compulab/cm_t54/Kconfig" source "board/ti/omap5_uevm/Kconfig" source "board/ti/dra7xx/Kconfig"