From patchwork Fri Apr 26 15:49:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 272 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 765023F089 for ; Fri, 26 Apr 2019 17:51:05 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id o1sf2311735pgv.15 for ; Fri, 26 Apr 2019 08:51:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556293864; cv=pass; d=google.com; s=arc-20160816; b=s5KreVMCgBTc/WN3SD9iS6hjrhdDLQla50udJCxzVQzgYXzT49hIjJ+B1rECnZNs+v mkxnnZJEFUmqp1hj9/vgMsfvLhoI6E52NXQh7bCF3zmVvQ5T04AxoJa4N+E0wZilR2+9 m2pH84u4/Jf7NkLbMf8u3aYbYXS5JQmcsTX33Jg1UJUFt+bzV/Sm6avJSV7RTJuLe66g cKBqWdDcOurKJz+Ed0qYyf8fIlg+XvBvvTmSQDmPP1BCSU/xvHz1qg443+VcmyFbXFpa RPB2M9QmU0X8p+VWuD7alhXtFLgGvnSwKLF0lT6XBNiq/0xj+bgUoHFYYN8e/MOssTtb jXyw== 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=fMzqEIPtvb3STgZVGUaAr3yEZTSEO5xYdkyCok83I13dxv0Z87peoCvZ0dGY31DGAZ q0HYo4JQNVajiojd8h0NCY2t3tsW2iVl7vYZlbuz0ZUaEUR2t+XAxKL5tx0duMjjpfQS +9vB3jZl6CzIghoYfN9aNMNlihWgtQmFq2k92bINxoQOI1iHZ5GNm1ijMlq60RS0cWEY fxhN0ZXIlKe9hSgZdSrqLAA7p4kUj+l38fn+YIkoXYjhU4DA+huET+DKvNGel48ybJaW omprIiTTQVxVgycy40tIEB/w7VmYqDcAz+aNPIqhS9VRk3pdz2WIog+Kp/IDg/bC44Vw S97A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KKPoLTdE; 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=esQUlPhzaqTnitI89PdW9Vb2hOQWdQMf8vz0B+4oOYkcM/n3XxUPvRdjdNbSfTXaUo Nixh0bkinOcWL9ssVi1s3ZygtP5Jrk7MQGVESJlLSqKdPn1PrB2ap9oEFJIuKYvHpUyB uee9OzhwsPHqQ8x0jyBbQU565sK5FqcRXNmm8= 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=UzC4KipnBU1KnXYzprB0v3yDn/oJ9IgMg9DbEV5ZArV9tcfbJ3bFFWizw4WSbCCqMt 2xx89Z2fCfe/K19roI+dLsjAa76/4EHFQNLtR1mtzMtUeSBm8ykL97Wvt3SHub1SKLlL RWRUxre6L9gsF/tGD4sy9GPObI7eRiIQQhC8Ii3sgiVobrNdAnbTnBtMOgowwLYMKbN+ sciciKQC+RAU9zNFOpGkRcFUEB4pOdDCYFS8tuMZzYCx5uxasv5myxvyEMNljo3y1lV2 stO/nzFXGXQAVmRBY9rAQAxg2V/hTd+jIIvmrvqkOhpGLBhE332JoLbxjVnp4cZ4ES7S 7wTg== X-Gm-Message-State: APjAAAUSxSnRX3w+9q0T8W7yT+X9iEvtSSfdjLwuP/VrmAiCNOPQf2eL qe4Lt2C41z4ocwzNY7OHHwyhoZrz X-Google-Smtp-Source: APXvYqzuKwFTEfMyMnL4l2a8nN1tdjJy19cgI6BIrHxVlT5oP0db2pK8o/8egU3/vb+V7EUzENcPYA== X-Received: by 2002:a17:902:521:: with SMTP id 30mr45437693plf.248.1556293864196; Fri, 26 Apr 2019 08:51:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:63ca:: with SMTP id n10ls6468448pgv.10.gmail; Fri, 26 Apr 2019 08:51:04 -0700 (PDT) X-Received: by 2002:a62:e411:: with SMTP id r17mr2422727pfh.127.1556293863869; Fri, 26 Apr 2019 08:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556293863; cv=none; d=google.com; s=arc-20160816; b=p6mm/En8sSjJ0WYSFz271OMnOR0kW6wHbmN/42OtqlHSo48+0/DtYzqEZFJejYWKmk KbW+ZC8UXaEbwwHtluoV7lsP+LQPkK+QR11x2iaN3GviqPTpufJc7TttaymYLSVlZahK xobgg7QZvNqb1F7KIQtrX+PtNSWbDtPgqQaE+dBemzfw8GxZwf40da8+koA27g8Rrhei XC49qlSWorFCJzC4v4cCgOkmv/5/D+jbolX+kX9czArHsxadEtd56Cr4teSEoN7/mYdz 0mzZ5TmcxBerbux2PqtcP3ROgQVxlNn/if626NPyS5SSQ27L9HazbHkXyYppjoOj2EGQ rmlQ== 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=BizUDz6hBxzlTNAnh25iK8fijC426a+rM8JGv/lY3N3KMDpqT0+O0MZ6osHLyza7pE 4vfpOUfgGxTjLE0l0tlqJDFRiN4kyrQa5sjxPIdF4wS1SNheatGNRiYejNhBqec5BXFx PaayuVaAAyZcCwB0Cn3Itnouyk7ZOE0LOAEy9osrVFHH8ZGNDLkAGrZPQ1Mclf8vZKZS clQP5bw5GxtKiP+hLGU7rstCOEFQ3R7PBTRZpR0Eg6HRcXt4r8Xn7Wb17BZsYLnFCePZ HCXQT65/VNWitXxKWVZEDgqfOJBEJLl7+je+ZFbYsIBAPQ3dHK3Kq993FZuGddO7Jb2u eWlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KKPoLTdE; 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 u3sor20524989plb.12.2019.04.26.08.51.03 for (Google Transport Security); Fri, 26 Apr 2019 08:51:03 -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:8ec8:: with SMTP id x8mr15122456plo.21.1556293863556; Fri, 26 Apr 2019 08:51:03 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id e4sm12019017pfn.185.2019.04.26.08.50.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 08:51:02 -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 v4 04/13] Kconfig: Add default SPL_FIT_GENERATOR for rockchip Date: Fri, 26 Apr 2019 21:19:51 +0530 Message-Id: <20190426154956.29567-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426154956.29567-1-jagan@amarulasolutions.com> References: <20190426154956.29567-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=KKPoLTdE; 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