From patchwork Tue Apr 16 10:56:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 215 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 814513F0A0 for ; Tue, 16 Apr 2019 12:57:12 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id l13sf12359926pgp.3 for ; Tue, 16 Apr 2019 03:57:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555412231; cv=pass; d=google.com; s=arc-20160816; b=fldFp3SM5LT6RxHeewhfF7YsMBEDZ9IfcR6nNQTGYA9UKIk0uXDJecHzMro71eWCfF jlCWFW6CoeFiY7Joxa8d3uMWYH9tkNMFr5Uxj6/TCSzHqpUmoEIvcNQL1EZhMeRyIwys tkmDN0gRkb1ONDIfc5wea5QT7SoyQrwVlgMPOeY60Pwlt6qsQHn6O2u5exN32vd6J7KS h+syUFyCA4jI5n97Z6zmXLwci3n3A5m38P4NEoHwtKUxr6N7PD9QC3f0IykPucA3OUQe nJjA+G1QO3imyIlrV7n3NcC4xAbvbw4kzfBI8q/zcykYiOqDoljxjYjQZu95ixsOA6hG ehMw== 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=1nO4oeLN/+gqhC+A5XGBNcWTGBGrF5IK2IIKu+Wmy80=; b=EsYm1hP3XAU9NBb4uSkcyD9nirtdTSe8wFYMcWMocvP6ESbvpwawKp8rdst+ioItPZ uPIGKgdVwwX1uptwR9a1Z78RAxTxtORvJh+IrMQngY0dY2mAtVFXzJpIc0GeNOJqKazV +qq1GRGcMQT9FcOSNWGCn5N34+xRQCmpwHzNMy2fJGmPYA+j1hHr9feP+JV1J5iNM6r+ 04H9B4iKlbp9tu/BRIJfjZPtDUXBTKhC4HWL9eMGBzlP3Yu3Y65NW8iws1RyDKINKXqX WzPWeQ74zFh3CPZmLmNXtU5Xi5dgyJ7ZsASsBPHFJ5LDcTR24/H7+p4ry9a00+wPCzCt LtNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VQ7xtMhW; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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=1nO4oeLN/+gqhC+A5XGBNcWTGBGrF5IK2IIKu+Wmy80=; b=BP1RT0ciIQDE6qGewdx1Y6Q3HywEuZyJYbgZ5U3WM+oPKtoh4ZOCBMWamTUolGDjjs F8ozmDr6MClO6x6DgSNYzacLy+Jpf/b62dVQ3GDSfVTNNhgw/SsJENidh4WDCW7/bUlc +x4DWEI/WiBCCS7cVZl2Mxm/6h3l6wddQ09NA= 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=1nO4oeLN/+gqhC+A5XGBNcWTGBGrF5IK2IIKu+Wmy80=; b=J7+JUmCOGc2qUfp4teCMslnxxAZ6dw3KctuZfp+YnicgwfpD6juVlycqxtvEh81f4t y79htsZgGH4yObE7b6Qxud40fn386XBeBVonZYBnZdSWZTWS3QmZ/hDEgcav4BMFZEG6 EoXolRZ6+F8vgrhYrkalo8j/ICwjPcn5gPP+4FDbv28fcI2xUmv7RnUsxUipODEu7dX1 54TQlccpI1PJTarlUZQs8aLAt/ZBGHpdU7FU/iFiH0YJpV4Jp3PES1Gg8EHlw7U/ZCGI uUBMo3MyHQQSVP6T5dOx24QPjXSFmmP+hZaNmBQaHHaA9gwOXA+bPIyn3/Ifn/K3/vW7 waJg== X-Gm-Message-State: APjAAAV+G89Y8+c9ZgIn2AI090AjxcR2C/9yZ2NDgD/7WUQ+44VVvfyR JUjmPyVg7jUQETyYSDuFUan220ll X-Google-Smtp-Source: APXvYqyP//whOLGAAoquj3uyI2Xd6Fnt5qG5QVICtTKxh+VzaOB3WLWWbkUGhjKjbb3k6cb8GRa4aw== X-Received: by 2002:a17:902:f24:: with SMTP id 33mr1958748ply.135.1555412231341; Tue, 16 Apr 2019 03:57:11 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:ba86:: with SMTP id k6ls5758144pls.10.gmail; Tue, 16 Apr 2019 03:57:11 -0700 (PDT) X-Received: by 2002:a17:902:7794:: with SMTP id o20mr79936597pll.189.1555412231016; Tue, 16 Apr 2019 03:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555412231; cv=none; d=google.com; s=arc-20160816; b=W75J4L+/l+Z0hU25arZMar0YyldP8NDIaj00XVgvHfZuDQoWY9vao2bITyPm48fbAr WDJhFoDEYscg224przai1udJnS05313Usr34ia4kuizz1Ru8aaZusCuO5nvFEXgjSryA PTUIoqTGes0GkqjYGWZd3x1l1vmcUuaXJpz1lE2JYTvWvrPgGx8lxZlqTCnAcOVZQvkg gP2/0+JCgt7zxcwdp0RJwwJeDzCERV/qSw5C3boHc+VXpqwQLCPIrTeQnK4kAWPVuKF+ OPw7tFH7HWO0DPtVgiqxB2S2qYy6ZewLwE17zn3SpzhXNmXka3MyzAk1zuey7RUl5ltC ovTg== 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=DqWMoOci+QaZ9Bd13jsLMvUxLHe6rruCKjW3hRAZ55U=; b=Up1CA4TnGHCNj6rLVtPrRM7WYiGGOXAEM/5brMfI5aE3oyeFyjDn1n1z+8J6TEER+h GyyYgMoJTKmWSicPsF+err4+3YDT7XOVHNU7us5+FaRFf2KVZum1mRZuo4cH8rx6zpsb 68c0y2sNnbMoCk7SFuylvjnttUz7orKtE38dT/XvWxIslqsABmazv+EoGwUY/zSc4/Fi aJZ7jHbUY+FPedtMAPVaW6+fbTZAvvSE2wMv0iCPxOCUI62rBy90pyraPEYUN5xmj8Va TXR/vQpvYo8iVG9Et1Z5R1KE8AMGGt9youkTRfBJcc2IOP3ENEkE7wIN+dzu/8Ah5TDe HhlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VQ7xtMhW; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i73sor56552678pgd.68.2019.04.16.03.57.10 for (Google Transport Security); Tue, 16 Apr 2019 03:57:11 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a65:62c3:: with SMTP id m3mr75096431pgv.159.1555412230753; Tue, 16 Apr 2019 03:57:10 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id x24sm70368953pfn.128.2019.04.16.03.57.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 03:57:10 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v2 04/14] Kconfig: Add default SPL_FIT_GENERATOR for rockchip Date: Tue, 16 Apr 2019 16:26:37 +0530 Message-Id: <20190416105647.18437-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190416105647.18437-1-jagan@amarulasolutions.com> References: <20190416105647.18437-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=VQ7xtMhW; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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