From patchwork Fri Apr 26 17:26:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 282 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5D4333F033 for ; Fri, 26 Apr 2019 19:27:27 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id m9sf2486821pge.7 for ; Fri, 26 Apr 2019 10:27:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556299646; cv=pass; d=google.com; s=arc-20160816; b=hxWlrRuZ8WZr4bvu3qpN1MJk//ywQHzqbSab7HymCw8CdrKsEv7oTTtkMA8zWKmr5z izor93Y9s+tnl4yfvKUjHneLoX8zM/1CmzoCBuax5mWHkmAkB9yMyuT4SwoRFbvcu+85 mRlYK8pqkzRRJwgDesv4gcOizVi62n4gAxsE7ljk89T9BEVP1lV7/8L9aOowuFBfdfPN GRL9kf1Ukn2gMOgLu3GFdUJqzUbJ4DgWw2TAzio+qoH/htsrMESVPhCDlE7QwA5PxuSU mtTd4cgMVIhyCjzSOzHGm/grukHqW61xob4FCo3sK8c2fYzLIgNXmR3dn44Rim+BDS4v vk4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=fg95Cu1JWHYFxOpqN6vAJiDk0X4vHkfEdZnvI78+ISE=; b=EIskeRs4BmDXGo0hXStAzjGMHs++J8WftiImIp72qnhu/Gbt/Myxsy3U/3iJ6pY4Z6 Yox/pQVn8RlQRBvJwggsmlabjleACIAO0zyZDdzr6zAyUF1GII4HdqQtB7rpOmRDdjRU IIxstDkD5DE6KOUC2nihO0guXJNn9a0mUlAmWiRdjSt+O4DomGSD+yxeSDASgtJ7WMze StHixlRu4QZTWRKYejvpsL68/6+z9gqfC2b7FE767kid7+e7+zv9lhpkDKYWGWQ7fUk0 ABPjdyvarQIlTyBrCbhsJ/ZWVNxaJoa3KW2fzeKmdZt4flVe9x00RtJiSqCvtJtAP6Wt AAIQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KyJSj1EM; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=fg95Cu1JWHYFxOpqN6vAJiDk0X4vHkfEdZnvI78+ISE=; b=N2YQ6AsMbVmhUVUwdNQdV3c0lniYZ3W6kkynrJIHAEwavTJfIPCHxF8U+s+JF/H1F2 dxnFAyxJMacpPwP54AIJh8+lpcTPl75nmOi5bdFgqCT3NLakYTIC/EBtAkrxh+bAYsDo tns/uvOgmHA9/+MyXPIiLDoPozc5Tdvzj2Bwk= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=fg95Cu1JWHYFxOpqN6vAJiDk0X4vHkfEdZnvI78+ISE=; b=BbCI5wOXrKRqlpwfByJPjQwna+D22XkIWCWSxUXjI+Q9j3KkebllqTeCBTpzitqsoh NG9Jo7vP3EUZ6PDVflFDJR5vKR6O24mmYQdguaue089YVZqZsfYBEenLrCQB/zbdSfno I85T1TAsaOfUyAsNFyJB9R2UclyvXQf6ktYN/oHGLopmSOdysfshorqG20pgrTmxw5Wa pX5YBrFE8oaHgGUpeqzwR4qtVphdNADeFKTVK6KcGM0orRxYiLCiCDP0HzQgexLkYNQl d4gjbNdzyllVCva3mow76IbStCDcQIJWgnjMyyI3SfTWbgQdVcLwXX0dXvFj3q+TG6Lc rfxA== X-Gm-Message-State: APjAAAW3YGYFYReGoz9J43b3eAwwm7+4wqd/uixaDR2eORHmBO4kHWvy dl3M/2n4aI+LE3HRjB0z7lHtYUq4 X-Google-Smtp-Source: APXvYqzrXNzJwQPPzNmkqYqWjGQTNs7vJwr+r5lnUHNKLXFdqLyx0D98xzZ2c6WOwiAqaHHCu6sSSA== X-Received: by 2002:a17:902:2a6a:: with SMTP id i97mr47395427plb.273.1556299646170; Fri, 26 Apr 2019 10:27:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:4187:: with SMTP id a7ls6510354pgq.15.gmail; Fri, 26 Apr 2019 10:27:26 -0700 (PDT) X-Received: by 2002:a65:41ca:: with SMTP id b10mr45638617pgq.256.1556299645884; Fri, 26 Apr 2019 10:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556299645; cv=none; d=google.com; s=arc-20160816; b=mRuKT5eQ3MXBaJIWTQM/5DHJ9d30S2e8RcH4mJY2ILflteiokzBBHnqV6//k0X7Y/m fO0ef6ZE2LMvouzIhUqKFYoBRjGyOAW6TbCCfv+o3fOY5j0kYEixZ9K9JoEpJHB+dIad UrlME4YzseaCXImxj10RJ7Ro9Jv9osU8CPKeg9zeGOpLWvztPwe3LCIsB2LJYbVc/1mN BdDDOxgHEtldogHQIEBjxJ8ZfYbVSCKwem+9/vsR7WtrQNQSk5tSot6oNqk29YPWXZAH 7L4w+dlbfS57dyFIrHuD4eyo0d1Tj0IaoQ1tQh2CAWKNRNRi+/2/zfmXlR3D+27+ZGMT gXoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Um8qSQd4kNEDgUzuJzj+ZQ3+GQ9eCiB/O4N9spqTVvI=; b=EccYAg2DxLFIrY9HBk4kPFyOGpnrX6WGSCwi8wMgCS8DYiOWpiEpcz6zgVFG+xOvV8 qd1YFOoI/lef5bkYwoMHecPxyw0qiIVKmmRPapxmywPN0G9ubZbN+5+F62OQDrC8fQcD A8igoRku0DV+LOpg7qGoMnBLhBmLfEa7cZug77WuYELIZZnHsLMFf42b9jX1chLXa7bM HQuEgs7omzFVPRvMUQcRd2Emn+fl2ql8KqxYl35bw5oGHvOm7lNyPPfpbKbro0zeWUPy 6VO5ze+fKLE+/60jVHuzn8s89Mfd4GUYIHcSqof2fOQ0oiWW5gZXS+xHgqIUelFhn/dl 3Bfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KyJSj1EM; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 12sor6192333pfn.37.2019.04.26.10.27.25 for (Google Transport Security); Fri, 26 Apr 2019 10:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:6fcd:: with SMTP id k196mr44346371pgc.238.1556299645578; Fri, 26 Apr 2019 10:27:25 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id a129sm40807630pfa.152.2019.04.26.10.27.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 10:27:24 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v5 04/13] Kconfig: Add default SPL_FIT_GENERATOR for rockchip Date: Fri, 26 Apr 2019 22:56:48 +0530 Message-Id: <20190426172653.2930-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426172653.2930-1-jagan@amarulasolutions.com> References: <20190426172653.2930-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KyJSj1EM; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add default SPL_FIT_GENERATOR py script for rockchip platforms if specific target enabled SPL_LOAD_FIT. So, this would help get rid of explicitly mentioning the default SPL FIT generator in defconfigs. however some targets, like puma_rk3399 still require their own FIT generator so in those cases the default will override with defconfig defined generator. Signed-off-by: Jagan Teki Reviewed-by: Paul Kocialkowski --- Kconfig | 1 + configs/chromebook_bob_defconfig | 1 - configs/evb-rk3399_defconfig | 1 - configs/ficus-rk3399_defconfig | 1 - configs/firefly-rk3399_defconfig | 1 - configs/rock960-rk3399_defconfig | 1 - 6 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Kconfig b/Kconfig index 305b265ed7..5679a288ec 100644 --- a/Kconfig +++ b/Kconfig @@ -424,6 +424,7 @@ config SPL_FIT_GENERATOR string ".its file generator script for U-Boot FIT image" depends on SPL_FIT default "board/sunxi/mksunxi_fit_atf.sh" if SPL_LOAD_FIT && ARCH_SUNXI + default "arch/arm/mach-rockchip/make_fit_atf.py" if SPL_LOAD_FIT && ARCH_ROCKCHIP help Specifies a (platform specific) script file to generate the FIT source file used to build the U-Boot FIT image file. This gets diff --git a/configs/chromebook_bob_defconfig b/configs/chromebook_bob_defconfig index ce3deccb8a..04e25e1d4f 100644 --- a/configs/chromebook_bob_defconfig +++ b/configs/chromebook_bob_defconfig @@ -19,7 +19,6 @@ CONFIG_DEBUG_UART=y CONFIG_NR_DRAM_BANKS=1 CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-gru-bob.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index d98535357a..49b2e2e089 100644 --- a/configs/evb-rk3399_defconfig +++ b/configs/evb-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_DEBUG_UART=y CONFIG_NR_DRAM_BANKS=1 CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-evb.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y diff --git a/configs/ficus-rk3399_defconfig b/configs/ficus-rk3399_defconfig index 94c565efc2..fe3b9964e8 100644 --- a/configs/ficus-rk3399_defconfig +++ b/configs/ficus-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_SPL_STACK_R_ADDR=0x80000 CONFIG_DEBUG_UART=y CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_STACK_R=y diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig index 6725b48970..914304bb43 100644 --- a/configs/firefly-rk3399_defconfig +++ b/configs/firefly-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_DEBUG_UART=y CONFIG_NR_DRAM_BANKS=1 CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-firefly.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y diff --git a/configs/rock960-rk3399_defconfig b/configs/rock960-rk3399_defconfig index cb5a35f4f5..5e6778ea20 100644 --- a/configs/rock960-rk3399_defconfig +++ b/configs/rock960-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_SPL_STACK_R_ADDR=0x80000 CONFIG_DEBUG_UART=y CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rock960.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y