From patchwork Sat Jan 4 08:38:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1011 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 7DE3E3F08F for ; Sat, 4 Jan 2020 09:38:28 +0100 (CET) Received: by mail-pg1-f197.google.com with SMTP id o21sf18308882pgm.11 for ; Sat, 04 Jan 2020 00:38:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578127107; cv=pass; d=google.com; s=arc-20160816; b=YPUtt+6XQceBlU7vBnfZqpd7u83bgw6T/xq1gQ+VPcbwDOCTRrJbUYKtHjiRQ1jUZG RXQbOXilQx8Us6+3WBkqvnXIet+i5MEMoBnnc+GG/BWv1Dw7gqQAmv3xxVxPh1OBQWDa sQpzZ2figT+p2rakQ5PAUFbuagjtLCivqOFB669TKlcw7+mwYAVwI2Y7mE1Py0vG6MMk dt/TsRf2f+VCiZOaa/k6Zox20VqdYcB50pFRWwShnF/voAvbXbDOb0qp54a1sSCInSBZ XbbpB/zkSZxVaNHJoy8fbxEFW2jeHxcOwW1gPWIF5I8a/X4IsmaAyg7exdcGE+D8lFRb uJsQ== 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=2mvOWhg5lxne4mNYl3tdSlnPSrKJSpr4ZpeRe5mCA7I=; b=SXVpOdih5mkYad77jsPg0FTcXRBLxFFdpEkVvuXWFNtv8m2vzXwFfrQkTFoh09R9vj gAaH/Su6COaPyZGLNIQCcqAWZJQ/xYHePHjpcYYN1GFMGoXafKRfafzMWTAuN9ERAuG4 b77N3ird58dmBzo1aCyQZh2uhlA0j1VG7JglmROW7ArAFr9OuLEl0vjif1cSi4zvhWlV ksn4L+oImK2tIzstl2ugf93UaSEcM2YV79dFHbqBkQhTKgBpMWk9rdc/dtoRFaZ9HB+H ycukD8IXrW51WNSYgBJmV9sdMjK96wjJgwhO/ekq14J10YDc1A9vu0QJo+pKrzf5cSTV nycg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iybUH2ff; 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=2mvOWhg5lxne4mNYl3tdSlnPSrKJSpr4ZpeRe5mCA7I=; b=WIR9MFMJkdE8ULAfXvBK9oNkyQvVkXkFGv8aBe2A6P7aY2lQUuOIOYYePJSjk0RtMl qtNuKo2W78vkmVJwFsFTdHs+N13BEwvQ1piGiNpR3495slBVuXhtvAqbEUHmbA/pF9GC pnHJBvrCUuIY8GOPH+a9gv+z70+Q6H21Uolbw= 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=2mvOWhg5lxne4mNYl3tdSlnPSrKJSpr4ZpeRe5mCA7I=; b=p+V2xyXIUn0XCseO69BURuybkslo94Yizwiu0kTAGz75iYMhgkpwhJXe2QzyKuCEwj nlkro1XMISwkHsqTfh1/mM079HrC7gNBRA3swRJ1OTpU9ehCjRcrmdspmUZX5GpUuLMD Q3cKI/5lcZD0HZx//61XCPfeSwTEuXXey7MEI8NYM2eCTt2mc71/Lm/FANzsHbW05OuA ZJV5oGHUXaU/gqpuKIgetF0/vTYhJL7Acm6RI6JbKueJ+AYDr2sjP8eTxU4fqMCbvCbc 65dgGHI/0pnR218sg5MuGCm1IKjhLJQKl+A8D5ywi28gPvGY1nFwDjok+jIIPtW1N0IK ZLpA== X-Gm-Message-State: APjAAAUOromcDeDdnZOp3p2P9h8Urvfor9kE73vlbh+t7/uU4Vhh00mp 2amVhfUhwa8hpjwhDzWytoak0AFs X-Google-Smtp-Source: APXvYqyZsNxFP5M/u4o1hJ973O+4UasVLCPtBJHuS4DEK46ZRNJSmqGa3LciEoJ93R6UZ3ZJdzAw1A== X-Received: by 2002:a17:90a:98d:: with SMTP id 13mr32000281pjo.102.1578127107313; Sat, 04 Jan 2020 00:38:27 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b491:: with SMTP id y17ls13206264plr.16.gmail; Sat, 04 Jan 2020 00:38:27 -0800 (PST) X-Received: by 2002:a17:90b:1243:: with SMTP id gx3mr31836242pjb.117.1578127106880; Sat, 04 Jan 2020 00:38:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578127106; cv=none; d=google.com; s=arc-20160816; b=kK6j2oJ6CGmIQ71dCL4aIN6qdn0QqysfG2/OTzZM8p+Z5VkL17FljyfrEZSIiO5CUH lBAL4M4ojnPJL23VdPjgh03oCiupZ6PqwmW/5LKP4GQXdpBWzBZXtHrTF17cKEpILlOm NKFPr/2crtTX6LopoPXnXPACFcr657frrExSDdruKYyIMTA6/NiJVkwRctkfKB1VianW rsIuCohlIT05v7ZPqHHqeyBsRoV7gICNBBRtQ6yWppucPU/XvsJ9IuIdAXyEoPFafoxg le7hEXzgW2ebvIypBDnScImXNvFis6FBZeTY2PzSEyvo5EPZOT6QukTevP/szFwHvHhk iObQ== 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=MdVD38WP8mrB9cxL9ngtMTtlvhd/lrRFS5qqLyy/3UM=; b=bGVdHiuNDRFBYbeK1M0lEUVzbCVAYKKkutJF/ldytCyww95RbXS1bOjcHDOBkDXSQ4 N5LTZ8mjcvLVfysH9dgmFMXHb1QjQxugrk6y8YTeXB38fwVW9VLVd/H2Pzua1iQ3KAXf /17Llllc5xuWs/T8LY30+slMvWGwN+2WONN7YeSihhYLlLFLRtZsTm+7BStv63YvmQpy XVkMhxoDOG9f649SjUrxQLp6ZcKn2XXyNiWoIFUitL7q48rsu2EMean+w4lywlwUfAcv VV0nc/Jn/ePE1SfZwLOkhIfz38adqn+tpM9SoyCuDyq1TZZm5El5NkB+lDolpYa9mKHf D/vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iybUH2ff; 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 x7sor60714497pfb.40.2020.01.04.00.38.26 for (Google Transport Security); Sat, 04 Jan 2020 00:38:26 -0800 (PST) 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:a62:be12:: with SMTP id l18mr80665263pff.226.1578127106636; Sat, 04 Jan 2020 00:38:26 -0800 (PST) Received: from localhost.localdomain ([49.206.201.128]) by smtp.gmail.com with ESMTPSA id z4sm70201623pfn.42.2020.01.04.00.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jan 2020 00:38:26 -0800 (PST) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Akash Gajjar , u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , "Matwey V . Kornilov" Subject: [PATCH v6 2/6] Makefile: rockchip: Suffix platform type with tpl name Date: Sat, 4 Jan 2020 14:08:02 +0530 Message-Id: <20200104083806.3930-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20200104083806.3930-1-jagan@amarulasolutions.com> References: <20200104083806.3930-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=iybUH2ff; 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: , Most of the platforms uses the platform type on their boot stage image naming conventions in makefile like, u-boot-x86-start16-tpl.bin - x86 start16 TPL bin u-boot-spl-mtk.bin - Mediatek SPL bin This would help to understand the users to what that particular image belongs to? and less confused. On that note, suffix platform type rockchip for existing u-boot-tpl.img so now it become u-boot-tpl-rockchip.bin Also, bin is more conventional way to include it on tools like binman, pad_cat etc in future patches. Note: usage of platform type doesn't follow consistent order as of now. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9998d238f3..e519103be4 100644 --- a/Makefile +++ b/Makefile @@ -1382,10 +1382,10 @@ else ROCKCHIP_IMG_TYPE := rksd endif -MKIMAGEFLAGS_u-boot-tpl.img = -n $(CONFIG_SYS_SOC) -T $(ROCKCHIP_IMG_TYPE) -tpl/u-boot-tpl.img: tpl/u-boot-tpl.bin FORCE +MKIMAGEFLAGS_u-boot-tpl-rockchip.bin = -n $(CONFIG_SYS_SOC) -T $(ROCKCHIP_IMG_TYPE) +tpl/u-boot-tpl-rockchip.bin: tpl/u-boot-tpl.bin FORCE $(call if_changed,mkimage) -idbloader.img: tpl/u-boot-tpl.img spl/u-boot-spl.bin FORCE +idbloader.img: tpl/u-boot-tpl-rockchip.bin spl/u-boot-spl.bin FORCE $(call if_changed,cat) endif