From patchwork Fri Apr 26 13:34:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10919209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2DDA6912 for ; Fri, 26 Apr 2019 13:35:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BD7728CC7 for ; Fri, 26 Apr 2019 13:35:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F87A28CDD; Fri, 26 Apr 2019 13:35:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B092928CE1 for ; Fri, 26 Apr 2019 13:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mSnhi0WTkK8pUGxElZFXUYTgdrRg9RGoq0FBsXy90xA=; b=pn03my6Pjp+WOK QE6LQU5yW5YSox+JW6S2G+GBpJ+LYBSPCUdRd9V2qKwb2+ULUcBBd5lmClDkDMmOV0z6iAek+GRof YxS2dBP11l03ughG+mkCxI0BmJJtNy0ZaPPKyk/KJkKTUHmvLc6oN0n4Y190ehE5wg5XU+McKMynI bj8/MDVosyGm+l/yAUlfpqp1F54OxPTnkMPsw4i41uQfxUbYQAPcByE1VncWK7fNp0E8i5eCVryUM BoaZQHIp7R1n3QknRsM/GWdFQdhhgqcukskWfZi4eWjXsMAUbxx20fcBzZtReyFsBQbBimf3YJYlH UEch2hI9zbVGwxFPK9Bg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hK10E-0005L4-NP; Fri, 26 Apr 2019 13:34:58 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hK10C-0005JI-4c for linux-rockchip@lists.infradead.org; Fri, 26 Apr 2019 13:34:57 +0000 Received: by mail-pl1-x644.google.com with SMTP id z8so1603366pln.4 for ; Fri, 26 Apr 2019 06:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3N5rNqcMuDowMTD/3vgKU8H5GyxtTI2jCzUXbqadNIQ=; b=BdGGz67I43scUy/bdFGnBN1AiQNHEXop1lc6edh7nyG8rFrbkqyV5engtt4xCdLMpx BGYNJR4Tk7M3KazwVaqq8WrlRx2J4u2xPljUJnif+DhJuBgqpPe28zWu0QwWIB30cx1X PCnFAb1wdbCAVAwQN0DvbDb7MTSF3o96zWOKo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3N5rNqcMuDowMTD/3vgKU8H5GyxtTI2jCzUXbqadNIQ=; b=esMsDHV8Uea/3fFWYKCr1094DUtnGreYuirY4rYGIsJxufDgSJ5RoLmpJwvFbLaKf7 cQ9eea7KJd8LrhIbZ87RuDiKY5TnT9rsi4xgjULYs/QFo2Z0bcIqVkp4D1WyOODMkCiS PP17UfC4eUusQ+8Y2V9vnLaPU4wMZpBgSnqmuM/7Pbkzs/4zWWZ8skdeCnMuJiQU740k pF5LqPU0hPM6ogdzEnAXPnupSRpWqbiJQ3xBDYS+Fsx9CSFRX5Idk/wpsowh4fCr4haq Lxjuu00yaHOGXTHuFYY4VYgnPiuPacLYj28ai4UnYKa7LhFGxVjbPKY+50dRqVXA2rZh CTxw== X-Gm-Message-State: APjAAAWJ3GbTCQDhphqo+qiGnxocUsMDiNFbkIC4fksnSlOKTzfxw9GF gmo8jG+M6+CcGtIw+/16iPtD6nRSGt8= X-Google-Smtp-Source: APXvYqzHYK5WshCoxt37GbCvx4VhF2eVkQmq6z8cWSvkhFPgi6s2Y3Qr3h24Q6xOUEUAwYwAetSSLQ== X-Received: by 2002:a17:902:6bc5:: with SMTP id m5mr47205006plt.180.1556285695228; Fri, 26 Apr 2019 06:34:55 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id y19sm36946770pfn.164.2019.04.26.06.34.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 06:34:54 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Subject: [PATCH 3/5] Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip Date: Fri, 26 Apr 2019 19:04:28 +0530 Message-Id: <20190426133430.17802-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426133430.17802-1-jagan@amarulasolutions.com> References: <20190426133430.17802-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190426_063456_181725_72A21ADE X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , u-boot@lists.denx.de Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add u-boot.itb BUILD_TARGET for Rockchip platform when SPL_LOAD_FIT is being used. This can get rid of building itb explicitly with 'make u-boot.itb' all required images will now build just by make. Signed-off-by: Jagan Teki --- Kconfig | 2 +- doc/README.rockchip | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Kconfig b/Kconfig index 5679a288ec..46f511123a 100644 --- a/Kconfig +++ b/Kconfig @@ -230,7 +230,7 @@ config BUILD_TARGET default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5 default "u-boot-spl.kwb" if ARCH_MVEBU && SPL default "u-boot-elf.srec" if RCAR_GEN3 - default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI + default "u-boot.itb" if SPL_LOAD_FIT && (ARCH_ROCKCHIP || ARCH_SUNXI) default "u-boot.kwb" if KIRKWOOD help Some SoCs need special image types (e.g. U-Boot binary diff --git a/doc/README.rockchip b/doc/README.rockchip index 0db4771162..124efd65e4 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -103,7 +103,6 @@ For example: => cd /path/to/u-boot => make nanopi-neo4-rk3399_defconfig => make - => make u-boot.itb - Get the rkbin @@ -146,7 +145,6 @@ For example: => cd /path/to/u-boot => make orangepi-rk3399_defconfig => make - => make u-boot.itb (Get spl/u-boot-spl-dtb.bin, u-boot.itb images and some boards would get spl/u-boot-spl.bin since it doesn't enable CONFIG_SPL_OF_CONTROL)