From patchwork Thu Apr 25 17:34:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 250 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6DDA63F086 for ; Thu, 25 Apr 2019 19:35:03 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id ba11sf173747plb.21 for ; Thu, 25 Apr 2019 10:35:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556213702; cv=pass; d=google.com; s=arc-20160816; b=KFHA4B93RXc43v/n7hxUBdJCiY8oP4WvifM1VHlpyXS0sZzMmU8rCuf158E5sR9y0G CW+YhG6tDgXXJZGfv1C5vtIwKvevHetVpJT7cR+7dbvfUwLMh8VioLjqW65h84sYRnb/ RFdP/yw/b3KWKTuIE8NRHbAo79K1AxZDkBaUIk+UCjrKYtjVTCTdSKijfNb4Srq+vcX1 /x0EYQASM7g7MdLgCUVUNydYL06ApYFlZ10RG/5vRPirnVfGqX0CR+rAFqR/uSlI1YYG SZoS7uiA8LVPZI03lg2EXX1BjBzzvAEdHbSXQPN3G1EriIZMbkgmYe8OlgTBqxsNjX6F KP2A== 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=t0Jmah5isWl9Au/n4Y+uNtlQoBflSFStNl1BJh6Haq87thZ89nBFmTgxx3zlQpbh6E kWzEGWm7Wo7CpW64DXNIwwH2IglsytAZyk0s5dGiCVRgwqQKVqO2lsKxYbWeza7/Aazj nmOoIiCz9t1S+uuCojKMhqQshZ7xblGIqSAiM/akQtecARkmGmfeXrYcOnyH1kcNNYri rUlA3gR5Zc9SoA5EqBmzuKTAqz/w4/7ZugpoFpvHmyJOgh8x4mFAvle8H7hZLZU63QFf Ke1NSzhqYHikk35fg3Z1I5SiGTTxLadM0K7aqAfRXrV4jRwndvWbXJggzciUEz2zBC26 08aQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rleQPU38; 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=ZGXzaJ2siIKNVFArtbqi1uO5650r1zo/9pbTDwPYG3TEqK5XMYloRPCxXGHOqT2wmF do4G164wicOF6QRxV47E3qfrowmL38PhBLp1RYzmMYn4jTnbd189muUEvbRGguX+MB0O G/4pAPkNiKXfYoOFQWpCFvzrq8bPUDqN7dRj8= 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=CQO9GwsjUWy+Cawn/MVabVic5kA4SFy/CQSzfQ+QyiZdqL0zMYkywJ6eJDNnekVqT7 TeeNKzG9OPasDa/5nkzW3TV/psZXDuFYs8RpKbuOizcEN8vV2K8JerTXkSFOvk4wxAre eRELkXRF5XrDTnMmU+QBWAeo8aoPGIgM2u3t2mApfzn1gsWkG/uHU45q+BH0hi4iNtH6 lywrk3BImTg4kcJfDfzlMzdOJ9uM2MDc3UnjJ3hsuO+HRHqguzmXssSyq80MwDi6qoTC T1B7MVDcITmjQzsBIUvb9bHSNB+Lt0c6vQ7xndiAcTs69pvxr14m6QO5CqgON7e4CQOM UTmA== X-Gm-Message-State: APjAAAUSvvqv3penC4BioFoCaVHrgXDIocF47CCjtUNIsnwmPSYtKHKH pIj27Trzljv2arUz7BbfydE6DBQf X-Google-Smtp-Source: APXvYqxGnn0PLLRfqrUmVSdot18nQjembNnsuPpbDNJeCSrR/bSc+NMslFX7bxqpMNGjOdUtDkDpCg== X-Received: by 2002:a62:424b:: with SMTP id p72mr40422082pfa.167.1556213702215; Thu, 25 Apr 2019 10:35:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:b60a:: with SMTP id j10ls6983557pff.6.gmail; Thu, 25 Apr 2019 10:35:01 -0700 (PDT) X-Received: by 2002:a62:544:: with SMTP id 65mr2841930pff.46.1556213701815; Thu, 25 Apr 2019 10:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556213701; cv=none; d=google.com; s=arc-20160816; b=XDIJDCRfGA9VPh+hQulWP5bkovZ+03FW/FLYCyv+zLslcXPIhfy9ZFaMFC9WQfnpSm 752nymqfbx/GZhf5DidvNOeNNB0IU8TQ4EGMhs/qHJUdZpTQEBPfZg4oimNk2MbDLmUu AwrT1FQZ8nK9kz0omn8gd5Hb3nBynPJ+rHYSk5t9u17fNZcG8aXp4mEgqWlPsm+Guy/M FZM8EszU5x4TJOU+ci7wGvXN7pxs03nFo3m+jHWBCshvw8EVkBRdYWU9AzxpVNRv3yQ7 sBHz+1klzXvLeQV/GYouUHdvVrb3p0C2AOXqn8Q6iXo11xi1HQnZ+o0jvlD7kYnzemJ5 ZlmQ== 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=NP0lcvKJp7Jp2Y3y2hw54otKK1u/yCaeQqUHdMslcCL3LYy5gyLkzIh5jf8NjFiRUm CbtH8ATOJKqux6n33CRY5ReyoanGJfLtGiNEmwMSYtVgdqmRjnXp7XYGsKGJy/DMA/yD j4zC0mwpjtgvPU/camkyEBJqFxBXfMfHKi0nVGrNERubc3Sy0CGeZuS8h4T4QVAlP/Fd dFWiJEx6qvi5m27GMpEAGpWWp0HuaU12TA5a2UBnSYkwtTC3nLOBckJ8QisLiAPvsobM 62f42z9bmkGJZ3oSV0iLZc0JvK0gU9OokfXOjqz02vr2BGudnQiRSFOLpAOYEK3bYxVT qIrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rleQPU38; 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 cm7sor1678310plb.37.2019.04.25.10.35.01 for (Google Transport Security); Thu, 25 Apr 2019 10:35:01 -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:a17:902:1621:: with SMTP id g30mr40410835plg.168.1556213701531; Thu, 25 Apr 2019 10:35:01 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id i3sm38265876pgl.57.2019.04.25.10.34.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 10:35:00 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 04/13] Kconfig: Add default SPL_FIT_GENERATOR for rockchip Date: Thu, 25 Apr 2019 23:04:18 +0530 Message-Id: <20190425173427.13445-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190425173427.13445-1-jagan@amarulasolutions.com> References: <20190425173427.13445-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=rleQPU38; 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