From patchwork Sat Apr 27 11:48:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 295 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 E5FFB3F089 for ; Sat, 27 Apr 2019 13:49:21 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id o1sf3818760pgv.15 for ; Sat, 27 Apr 2019 04:49:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556365760; cv=pass; d=google.com; s=arc-20160816; b=jl2UqoCHvlzvE00KcgSgt4T7E7ub0Om+eNa0wuce4nxGTZKT5RlKBjSZ6YjuYAFSZX IIqvaylj11B89DvxmxvMs/Qm+XSjtmv0AUY3w2+t9eMcTVTvfs43mLlc7XG19U1q4KQX i3tG0O6mL0OSHb1nh6t+vT7WoxQs9W7qhtvyFV189vLSHLc54Rehc30FGbNIqK9v268F RROXyUmFkUt8y3VPHZmPB6v1KIgeRRdTRM8qOP5wXZGVWLJcwLqmjw879yjcTgmKqqq6 kVxExs0XHdO9/mR3qsWBsTNd7mTNY9tvsHKDqPd6/dzmDzw1VOsiY5w0UgEc9KkTBRYf n/KQ== 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=TrayPUWzSWPMK+fTMTfqTxTj5T+mQZG2lc39nuwwVR5PxEI0iddyLw93VSjn6AUHL0 eHPkGipbT0cLnHWEVMi5Mw2+vJOPQKrWQ7sDtDDtZEFxYUImmg16p5N05WrkToxEouLb bspjTasGluxqJPEu6xjBSkUSTD0BQy+I/MBJTaYbCIQSWqn4UZfPrKW8uMzFy2CSDaT5 iDCXHjWCgDnmQNPRzg+f37y+knXBMMoyYZ/tMkkfX8iFuoXXkQJZAMXJLdbRANeCrI8U yjZjOSp5JFqu+UD9blR+7rR2SZe13EiN9ubAobjA1JmbPrbKV1Oz0ExquN9d/XMOibyD G3FQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eH4p0BGJ; 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=N9nBrtliGJPfP3RGwO+fEe/rnIMzafjW4MYZNL7LowUqRmHFrU7f//4Bie3Ev0Y050 xp7JIfPhLFetA4TZzTKHCZI4slCTTP6LFlpsbGfImu+F3AU0fXrBgAhm5rmHCfGD/LCW wh9GfZQkJL619JsPgvxkBz5TUEuLAGZgr4igk= 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=K3xIU5aXkNgPS68cMPEhxcOoa6/mkoGkYMsURz2QohBJ3Ayl89RGgc0ju/VsTepGlH /ub0ZHYNnFRIKYxVoS1wqrG3PdFASg9161jhM/1ku9pDmRR8zdkAdn9FpqR0x3BgD7Sn zXJqIgDViOF4k+8rqiaMxTUJiYyV1TTQtsbPE9YgjMDjJnXxu8Pt4p9Yj20U/uJ25CpH 7OUEb/j5A1/UClZW5Z7hph3bJYyuuznkDDwh35Nol2JSpSbCaMCNO1tC0QmrgVHeTccd WYtowvRW6HwxDkyc9m63psjZK+JQrqhyXjfMQuiTMcH/Wp4shAP+y8DBZJ+zzbYPrZHv hVQA== X-Gm-Message-State: APjAAAWiL+VMEG2xoSCX0QofoRQzFGcmpWLnR7lczT9ekS2G0LBVtPfe eCgtgD2byDPIfun7bLZO5OdzO0Px X-Google-Smtp-Source: APXvYqwnLjHcn1X2bqqYdYEEqXwmAFMKEragXvxKZh4eL9A5Dub9NJ6VwLhofX7Objzy4QDtjfk48g== X-Received: by 2002:a65:5148:: with SMTP id g8mr6898973pgq.168.1556365760723; Sat, 27 Apr 2019 04:49:20 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:b60a:: with SMTP id j10ls68296pff.6.gmail; Sat, 27 Apr 2019 04:49:20 -0700 (PDT) X-Received: by 2002:a63:d709:: with SMTP id d9mr6972138pgg.38.1556365760336; Sat, 27 Apr 2019 04:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556365760; cv=none; d=google.com; s=arc-20160816; b=dgLR/jbOm6iIEi2jyG0QX8toKgRQS+nJJ6ui1co80TM5v/0IGvlURkeBBGQfocLGUH SfqSho7LaJ88HNpYudcgTsyenzSFEM0gsEJjzoQhFi7yRvtNCoqwYu2YMubVgaM6jlbe D7kwx8A7/HzOmzCgYhuIoN5gb8Yl0Dvihq3YkSr4GOCUa81FKckDBU6bfM/d0R+go1FP vxR0EGKLrCZ6oHaUSUSFFCBdlTwn6JrXif8gXhd8N92Y/2Rnd5THFHEpPwX6TLuXDul4 yB/PbrSln4uqaawB12DTlNWli+xplGWgeP3twz9QGFY40N6Z8oK85W5wYha9/NbWoB3e MwWw== 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=vtVxw6l23oAyQ3/wHUeMEfKbJHTjVU2c7FKGneN6Wk+AAKp7rg+iqILkUghzFIhMpC zsOHMm9pw2TWuuFgTSNcsxp8ga0MiZDc7bqlZKzLRyXx4aVTxmQu6MXya9iLLXnvJnEP Fa5Ba4SITjfsD9n+oTpm9VyJroPSeCeLK6yru9fFUD0KOGFlvFLx41Aa9QHDXd1E0XtH E712GlaQimL8rMnbL5g93jiaxoXXHczZCPxN4K5x6JHE2QrSSraT8Etruu/sZU4zZ7LY o7uX5IVKaGNyEurVPFRvFFDj262pL/CHHgFOV3wqXWvGEh1TN6WLo9eO2/erZ5W8+fmE wZ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eH4p0BGJ; 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 x6sor3331593pgp.20.2019.04.27.04.49.20 for (Google Transport Security); Sat, 27 Apr 2019 04:49:20 -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:d04b:: with SMTP id s11mr28933671pgi.137.1556365759850; Sat, 27 Apr 2019 04:49:19 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id y3sm2368768pfe.9.2019.04.27.04.49.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Apr 2019 04:49:19 -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 v6 03/13] Kconfig: Add default SPL_FIT_GENERATOR for rockchip Date: Sat, 27 Apr 2019 17:18:46 +0530 Message-Id: <20190427114852.7608-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190427114852.7608-1-jagan@amarulasolutions.com> References: <20190427114852.7608-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=eH4p0BGJ; 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