From patchwork Wed Aug 24 16:51:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 662377 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 3sKD1Z44SKz9t14 for ; Thu, 25 Aug 2016 02:54:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=jjEejFfv; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 79A07A7664; Wed, 24 Aug 2016 18:54:07 +0200 (CEST) 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 Pfnq_SmP_tlm; Wed, 24 Aug 2016 18:54:07 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0556EA7692; Wed, 24 Aug 2016 18:53:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 576A5A765F for ; Wed, 24 Aug 2016 18:53:17 +0200 (CEST) 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 ReLVOg5q7rBi for ; Wed, 24 Aug 2016 18:53:17 +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 mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by theia.denx.de (Postfix) with ESMTPS id 8588EA7620 for ; Wed, 24 Aug 2016 18:53:07 +0200 (CEST) Received: by mail-it0-f46.google.com with SMTP id n128so44669358ith.1 for ; Wed, 24 Aug 2016 09:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ICCLXl6chCLHyD7PEChEG+BUbCz5goGkoJ0ifXdgmKU=; b=jjEejFfvnDjYOlT75ML6SzV8xS4xmS1tvPCBI58HxHmTPU0hBZIWsMSTGWUpMgXWAb aHIGBuCrC1SFnQgqnPWTLxpfK8Sdnp+oJDI5D2UXssjjWcOUDdAQ2dxDWwCHqkkoNBpz wcIXugWt6TNrjYGAeSo0dasn/aD2OdMZYado3TR6rnCHzrjCjMMy/yNqrx0y+qrBYUgd 9Q9t5Sn08y8CEerUdgcOI5DTqkMT7aKzUJYDe6sfF74qg/peiSjPFHgiI/qcSz+rSeNF GLzFC9VoBdDzzmf6gRHaY0IV+hrWKQ6SD5mir9YfKw6Q7niomNjihiIMkVmoAlJ2Z0mR hLlQ== 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; bh=ICCLXl6chCLHyD7PEChEG+BUbCz5goGkoJ0ifXdgmKU=; b=lPt0v++7Ewd+swkqBB6ZvNbIKc/g8uqbgMY11ADTh0kjUqjZT+kvna0lO4WLHkv2qC c8tQmDQOilLhxIBCiPEFlTsBaq8jh7NeriDi485jjAoTDBZMdUCgo/i53PlmcZeSG6dg DtGVerYPjYTr62SQNVZNhBb9PfDndg3uL5+8ZXwTNQP9YR83V6gPCZDZ+w0FNgdlTtWY +/qEMsFFi0TEFEu0ARzt3NLnhhK+GlqDtLtgDkHnBk5N/Z/kZourcjMe71peE9YH1wiz 2gWDLK2ioQZwYB/7MWTgzpn9n0tqzYHkbLBOMy9kb/eVWXRP6+A9Skf65VflAi7Dt6Vm 36Zg== X-Gm-Message-State: AEkoouuzYEUqIkBMusFO7khU5TK6KExEHXfae64B/xk5fUDveXte5h4BLwC3W0wBgqKGMrKy X-Received: by 10.36.0.130 with SMTP id 124mr33482928ita.15.1472057585897; Wed, 24 Aug 2016 09:53:05 -0700 (PDT) Received: from kaki.bld.corp.google.com ([100.100.202.55]) by smtp.gmail.com with ESMTPSA id b133sm3727204iti.14.2016.08.24.09.53.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 09:53:01 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 594BA223DB2; Wed, 24 Aug 2016 10:52:59 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 24 Aug 2016 10:51:52 -0600 Message-Id: <1472057546-10360-9-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1472057546-10360-1-git-send-email-sjg@chromium.org> References: <1472057546-10360-1-git-send-email-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH 08/42] Kconfig: tpl: Add some TPL support options to Kconfig 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" Some of the SPL options have TPL equivalents. Add these to Kconfig so that we can convert these options over to work from Kconfig. Signed-off-by: Simon Glass --- common/spl/Kconfig | 83 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 75 insertions(+), 8 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 0b3c854..69c2482 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -61,13 +61,6 @@ config SPL_SEPARATE_BSS location is used. Normally we put the device tree at the end of BSS but with this option enabled, it goes at _image_binary_end. -config TPL - bool - depends on SPL && SUPPORT_TPL - prompt "Enable TPL" - help - If you want to build TPL as well as the normal image and SPL, say Y. - config SPL_CRC32_SUPPORT bool "Support CRC32" depends on SPL_FIT @@ -219,7 +212,7 @@ config SPL_I2C_SUPPORT bool "Support I2C" depends on SPL help - Enable support for the I2C (Inter-Integrated Circuit) bus in U-Boot. + Enable support for the I2C (Inter-Integrated Circuit) bus in SPL. I2C works with a clock and data line which can be driven by a one or more masters or slaves. It is a fairly complex bus but is widely used as it only needs two lines for communication. Speeds of @@ -474,4 +467,78 @@ config SPL_YMODEM_SUPPORT means of transmitting U-Boot over a serial line for using in SPL, with a checksum to ensure correctness. +config TPL + bool + depends on SPL && SUPPORT_TPL + prompt "Enable TPL" + help + If you want to build TPL as well as the normal image and SPL, say Y. + +config TPL_ENV_SUPPORT + bool "Support an environment" + depends on TPL + help + Enable environment support in TPL. See SPL_ENV_SUPPORT for details. + +config TPL_I2C_SUPPORT + bool "Support I2C" + depends on TPL + help + Enable support for the I2C bus in SPL. See SPL_I2C_SUPPORT for + details. + +config TPL_LIBCOMMON_SUPPORT + bool "Support common libraries" + depends on TPL + help + Enable support for common U-Boot libraries within TPL. See + SPL_LIBCOMMON_SUPPORT for details. + +config TPL_LIBGENERIC_SUPPORT + bool "Support generic libraries" + depends on TPL + help + Enable support for generic U-Boot libraries within TPL. See + SPL_LIBGENERIC_SUPPORT for details. + +config TPL_MPC8XXX_INIT_DDR_SUPPORT + bool "Support MPC8XXX DDR init" + depends on TPL + help + Enable support for DDR-SDRAM on the MPC8XXX family within TPL. See + SPL_MPC8XXX_INIT_DDR_SUPPORT for details. + +config TPL_MMC_SUPPORT + bool "Support MMC" + depends on TPL + help + Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details. + +config TPL_NAND_SUPPORT + bool "Support NAND flash" + depends on TPL + help + Enable support for NAND in SPL. See SPL_NAND_SUPPORT for details. + +config TPL_SERIAL_SUPPORT + bool "Support serial" + depends on TPL + help + Enable support for serial in SPL. See SPL_SERIAL_SUPPORT for + details. + +config TPL_SPI_FLASH_SUPPORT + bool "Support SPI flash drivers" + depends on TPL + help + Enable support for using SPI flash in SPL. See SPL_SPI_FLASH_SUPPORT + for details. + +config TPL_SPI_SUPPORT + bool "Support SPI drivers" + depends on TPL + help + Enable support for using SPI in SPL. See SPL_SPI_SUPPORT for + details. + endmenu