From patchwork Tue May 7 18:36: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: 363 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5A6BA3F085 for ; Tue, 7 May 2019 20:36:46 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id 94sf8078281plc.19 for ; Tue, 07 May 2019 11:36:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557254205; cv=pass; d=google.com; s=arc-20160816; b=fomPQqt1VB7MXPsUov6ljA0Z/rYHBjhJ3nICuMopg2Su9SSzAzwMgvPAbsKrXFIrtF fyiTsxYnrT57accLm0uHU1/bndlHrvo0tFVXp8C04q2050i1RwkJd8i4vx1Uy4rAxCyv kHFPAm2suvSp+TYsQUtky7OQ1OuBEePb9lQKqskKqLpnHwQ3tc4UHab6A5Dbv0eJ8+Eq a3Jg+cnY2qYgyZ9e3yIsBI5Bv6vIHLfZ4JS/WwsHDT70NM7yTB+pyoUOkNKf1wepPwQN XC+k0ZSVdh14e3REbQMyrnHEIWYeiMJyMD/7LB+68ijptvlkBvJHyjm+9LPFs58zeMz9 Nnrg== 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=niHZKG9xcL6L3Wh4y0whLe52KLnCd8IQ9ATmnS5ILQI=; b=XcDJQl7a18aLweZ0s09hpGUyC5Iznsrp4arLTBpI0Lp/Z6Y5Ffxw9Jd//Nm+gGXqjR jDSDuBvsHmm3UhehhgP6Dz0+k36R5pMxJXi0UpVrj/RCtuOMtDXiexpiw+jIax9LEjiE 5FMym8Vs3G4yu3HvpSIX+ePOYVYJYA5Xh1R6Bo4K3T5QHasDB3feZBJEhpEHfD/ipnGA 7Dn6TFfjS6KO6hOjnSa9NRZS7VdZpnc8IVWArzJkIbjyOFw1MDBP3K25+CGK5zR/7Pq2 BYzQBVsEZgiYhCf+fm8pwU+tjMHbFsNU8CRLkTKK3UIJEBDkd6K7Mkfvi2gb2o98LcUj zf9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rVCppObw; 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=niHZKG9xcL6L3Wh4y0whLe52KLnCd8IQ9ATmnS5ILQI=; b=fRUDYndAiir7te0FV0oa/jPPkduQIRHtss9+v5+RL+nRBUCfaJeXzhGMPNiXV0Eav/ hgtyvZxeQPhFkZKS+Wp4YoIfQYwg5PZiq2Dmlkz8ObbcIYgx7vVS0ShxUTbW6ErG6X0z pJKPfOMFQQK501AXm1rADGPMoCiK/8AJ+3j8o= 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=niHZKG9xcL6L3Wh4y0whLe52KLnCd8IQ9ATmnS5ILQI=; b=rQXILvgFJyf6A5fv8tIUXjUhT3B3JGT1pJkxS+BWTPa43RrPF482yCS2xXzjF7pXRT mSZqIGLR+TH5DRZRwcS5zZ0Lr/ziEcl14kHs/vRmU8NdE401f6BxSL7TyLE8sCvTGkLx DbYASbGhbETFWaIKEh4pMd0knxmoBPO1+8efFi4oe/+cmowQA6nF48Tnfq80iETiP2J5 W5A6fXEglr2/y17CxyIedld43q5xbRRoyd2do/DNf6Q8ELZAdXlt4yHwKiVXR51ERw2b r5lHMH3bL5NTme6TlcyawewyPJZMy0L3Tr99/Kixqw5e/Pi3EJsoCzE8UlGQPXerncm1 w/8A== X-Gm-Message-State: APjAAAWmaVQ/az7Z9eex7YIILZcZCxMTB+mrQHunm/7WfjgBTqfW+mK2 f4fuO/vBVHOutApwyeGutdVbGAoy X-Google-Smtp-Source: APXvYqzc+i8Ka6SxdjafHOf0M86b9LmUZwmZInrsO5klF1KCDkpAgiyv0f8elgb5Bb7cyyz4foNkng== X-Received: by 2002:aa7:8e14:: with SMTP id c20mr43105940pfr.14.1557254205134; Tue, 07 May 2019 11:36:45 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b70c:: with SMTP id d12ls4306244pls.0.gmail; Tue, 07 May 2019 11:36:44 -0700 (PDT) X-Received: by 2002:a17:902:b092:: with SMTP id p18mr24610677plr.323.1557254204737; Tue, 07 May 2019 11:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557254204; cv=none; d=google.com; s=arc-20160816; b=VLvlYVPLPba1RM9IjHWpVkhZ1Dk8AubBUPtcFHuc5Vk0eAIsO6vCkSNT18TUb4n+V6 v6nu1vXUjrnz8sz9qmvB6khm27D0g9B9bzMdLLzsfO4N6jhQskp54mZ51FxyiXfjan/y 7J2Byv7t3aP1DW2PHuodEGzWKKK/vrp2YYuJKK5kl8XmQ9/8nkGKQAWGnpXyl+ttNWrg nAmxdzaXrlrf2UjTIjEqwiPvN/JCxkfpvYoSITn0+ogfTEb7HI5GUgDJlmlkpUtQuqKl k83L89qtzBI2S7vH5um9Jbhm59mLGY6ZmLCjq+UsjoPZn6BtWpGA7JN2N1wE1KPqSq7j GQEg== 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=+FtkbiE7ILrLDKaXBSUxs5LtSeKhIp9HEJjTT9DD0dA=; b=dS7vOtQYZgJAekw8183r1K5la+YkrX2R2l4yjNv+0iKmP/m5zZzx04P10z8QLD07Le BSHHuNn+JEc62OpjHjeM9hxUMtuUAu5uVtkvEFGQh4/QIydZmGIQC9a/Z9kCbTCcup8K NBJp1gJ6mxO1RkAOOMqsUdGlH5ga3OulG1qyZBIbabu1nhuNsK9GwqUdkZq5twf1V+lq 6tKzrJAp5MSIkC9h/qpjZai/Uw1XEi1oWC2Wxho97Smy3OLrhpyHdcnyzi5ZcwiKpTMc ojsq186nfd2RgZ0HL7+FzB0mCpp3bSYvdz8sXZ7Ohtzn6bcTUl7J5qP2g68mjg7pM9da gaAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rVCppObw; 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 f1sor14930357pgn.52.2019.05.07.11.36.44 for (Google Transport Security); Tue, 07 May 2019 11:36:44 -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:a65:5941:: with SMTP id g1mr41411702pgu.51.1557254204438; Tue, 07 May 2019 11:36:44 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id b22sm21743728pgg.88.2019.05.07.11.36.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:36:43 -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 v7 02/11] Kconfig: Add default SPL_FIT_GENERATOR for rockchip Date: Wed, 8 May 2019 00:06:18 +0530 Message-Id: <20190507183625.5983-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507183625.5983-1-jagan@amarulasolutions.com> References: <20190507183625.5983-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=rVCppObw; 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. Reviewed-by: Paul Kocialkowski Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Kconfig | 1 + configs/chromebook_bob_defconfig | 1 - configs/evb-rk3399_defconfig | 1 - configs/ficus-rk3399_defconfig | 1 - configs/firefly-rk3399_defconfig | 1 - configs/orangepi-rk3399_defconfig | 1 - configs/rock960-rk3399_defconfig | 1 - 7 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Kconfig b/Kconfig index 7a5491bd67..91c1082ace 100644 --- a/Kconfig +++ b/Kconfig @@ -435,6 +435,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 ce07a7f0ff..bd836acad5 100644 --- a/configs/chromebook_bob_defconfig +++ b/configs/chromebook_bob_defconfig @@ -19,7 +19,6 @@ CONFIG_SPL_SPI_SUPPORT=y 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-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 5bb910e8d4..94963e4280 100644 --- a/configs/evb-rk3399_defconfig +++ b/configs/evb-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_DEBUG_UART_CLOCK=24000000 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-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 79da86b32f..926d244fbe 100644 --- a/configs/ficus-rk3399_defconfig +++ b/configs/ficus-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_DEBUG_UART_CLOCK=24000000 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_TEXT_BASE=0xff8c2000 diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig index 301b27e3a4..5016fb8993 100644 --- a/configs/firefly-rk3399_defconfig +++ b/configs/firefly-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_DEBUG_UART_CLOCK=24000000 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-firefly.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y diff --git a/configs/orangepi-rk3399_defconfig b/configs/orangepi-rk3399_defconfig index ba13976cc6..22ddd8dce3 100644 --- a/configs/orangepi-rk3399_defconfig +++ b/configs/orangepi-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-orangepi.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 8d490be18c..48d14ef7d8 100644 --- a/configs/rock960-rk3399_defconfig +++ b/configs/rock960-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_DEBUG_UART_CLOCK=24000000 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