From patchwork Wed May 8 05:41:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 380 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 071363F069 for ; Wed, 8 May 2019 07:42:13 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id m35sf11940269pgl.6 for ; Tue, 07 May 2019 22:42:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557294131; cv=pass; d=google.com; s=arc-20160816; b=ExM6y67sDWlQOoERf4KIoheP3j7L3g1EoZ682QZom9NEymclQy+B6yHqyru8GBXFaQ Rmobu2uSy4Is7uSXUFy+C1VpBdpqFAO3/fPyfmrOGdeX1PUZn3UBIcd0daRg4DImVSPj E7RjqzaHbmZqMVibziio4nJUWGucnNvDhaPcRu48Kw1vkhE/Sij7PWM7abSMjDmi7Bkk iOvYSmAuGax7kX3Knqf179gJU2T7ap+H7avXnjABhhSYtH0kQjvFIedFoY6Y7oDi9aUP 7V12l1HgI77m1A0yQ/EKKVG8WsHDLAResz+F5+aoxteFOly4rKSZydly6yO28yKfXGCM d0PA== 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=hjFtSj31jANlHNvnwtVy9sEoM3nuAvcpMD2tVs7Nls8=; b=kapnBHfsZxtIwi3qcvy4FH+ItGWnvHQmH4EbDcnebVI67FHymMp1YyX84MTVpXrTIX scLcpAv803Ei/KTr2fGyhzH+2Ll/m1C4p3hlp5O4tqk4Q/dQrnReULZOQuSOsKsTiNVz y9JMUhkVJX0dg8Zp8AYjDsAWuAem/oh7iyjxcsnMZzpHUkKjIuARGmDOLHTPdU2pogWa UGrpNxDsDE9UfOv4TqCVd5G1mm8r677WTjimpoSLMONRmzAcG7aMuKBH+a119+x4HDis BpoGPcGHoqbG0C0hdFqkYktcY3gWrLn4v6G+b/Jwr1xaRLILlqVrxPYuQOaSOV6Zqi1i WtPQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bw0IHeJB; 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=hjFtSj31jANlHNvnwtVy9sEoM3nuAvcpMD2tVs7Nls8=; b=ZCle1e7hMuwfAtv/pu/sKjUa4mSvnxe6FpvNuj4gMRR4vhze4Eylp7DAm3gYWzZd0r DF6LD7VLE3+bKuHGBSP5z7cRSX5du82OldBNC02wM5x3gqMzhaD1RGo+kZvVYJWp0J2g iekcAH2IdTWiVdhCuT8JRwB7mOvjMRHC8Bz3w= 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=hjFtSj31jANlHNvnwtVy9sEoM3nuAvcpMD2tVs7Nls8=; b=bm8pDEQ0LcC4V4E7KVmqW4CQYHOMuk3E5osZROC/F10fRl8N0rz4/cmsbs6UN0kmao rkS9kkApJtK7tRF4PJV6ibQYT1+SFfL3g1Ixcsoq30OeA7ET9TrKTjJqboXDLwGn5CG5 6OaREBPEEvLJ8STZXzEqErqVtHiFrZQbvjZktuAt08Sigr8TgdJSd251zlsDHLV6A9lf HGnoRTkgyTUd60zlPWQ4HwllWb2tDOu5ddrERg7zBG+ajrRV7eiDRTscN3hXBLk+HyMg vtmVrb+yPvViMmrAhoHOh1KRGIOVql3Kc2HxzMNGo/ZM6TMgnGUEi81mPx0AzB0HUMCj NGpg== X-Gm-Message-State: APjAAAVz5+TJkI3+7mpqEJcPJuxb1uBzFZkYb/thv+ErQjDPoLQ1hAIe 1tBToaDP21zGNXVSXi6elkWh1Q8M X-Google-Smtp-Source: APXvYqwPDkzRgzRCgnkUoASvSfmUSap6uTYim2uaA/KjaJXce9JM6B2NY0FM2mG/aO0GlvNiXz5mig== X-Received: by 2002:a62:a219:: with SMTP id m25mr46599143pff.197.1557294131449; Tue, 07 May 2019 22:42:11 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:4187:: with SMTP id a7ls4538126pgq.15.gmail; Tue, 07 May 2019 22:42:11 -0700 (PDT) X-Received: by 2002:a63:7f0b:: with SMTP id a11mr42029557pgd.234.1557294131087; Tue, 07 May 2019 22:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557294131; cv=none; d=google.com; s=arc-20160816; b=s4GDaHQawxmPbRKaz7SxjBzGl49JyoFqOwjfP/gBrGnkoXQgP0nYBmGS1TtlSsw771 ULojeD7biPHqFaF7R2ihqwYYRO1nr5pDHxbfXlOd5i89i6TGCHsWSVrA0YvpJYsMzJm7 rBZR2O526W0q6CwWxqpt5kAKxUCnxT4/0NyJCsMzeTUBcahqSyeMZH/n7aRTNZRpB6QQ ZRs6Vd8Yz5L6GwiRfTbtx9KPv3/a5UnoOEZMff+9Xnzy1lfZcU+XkBt8vanPtiu2lPYC YxAXgmEmj/SHn0C4pwDqyYzsoXZIEyNXxFmytHalkAYC83HBWuTENvsf8+bYXOpq86n2 9Hlw== 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=wcrctMe9PqopbIoq3dTMDhPd+0CnKkCC8KTMCemNYYI=; b=c2hqXyVMkuUOtYFCzrciZw2ZsWhcQV//0F5y7UIukN+Wogy/QnH+jwY311sQcUNO2U hw/ZDW6szJkReoPrHLhJ+gutI0drFCQDxFX1K7DwOSp9UOYxFQH6wdYHFjq1qAzr0hFt ehC0oS0Jta+WZUsZJykUIWXj+pC+t+2jGBSjRdoKdUXcabCDAzuBBSa+Nvzk2lesRlOJ rc5pui9JW0xlAgBtLzgjdjVulhoNASr+ERBMCBfwofIfZZF4ldsaSgfJFenAWRnvMl3g LCKZjTcs/fVly/vA8pgCjTv9J1ErbzHEGFCdewTn3h53626HoSAKOSUm8bWToq83budh HvHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bw0IHeJB; 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 f12sor16185748pgp.66.2019.05.07.22.42.11 for (Google Transport Security); Tue, 07 May 2019 22:42:11 -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:2c01:: with SMTP id s1mr26503282pgs.261.1557294130790; Tue, 07 May 2019 22:42:10 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id p67sm33864394pfi.123.2019.05.07.22.42.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 22:42:10 -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: [RESEND PATCH v7 02/11] Kconfig: Add default SPL_FIT_GENERATOR for rockchip Date: Wed, 8 May 2019 11:11:42 +0530 Message-Id: <20190508054151.21762-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190508054151.21762-1-jagan@amarulasolutions.com> References: <20190508054151.21762-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=bw0IHeJB; 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