From patchwork Mon Dec 30 08:28:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 966 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E22CE3F076 for ; Mon, 30 Dec 2019 09:28:36 +0100 (CET) Received: by mail-pj1-f71.google.com with SMTP id 14sf13017787pjo.3 for ; Mon, 30 Dec 2019 00:28:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577694515; cv=pass; d=google.com; s=arc-20160816; b=nAEaJaKwt1bwtu7ONZLUtC3nWnvgtRMvimhhzJ9LlI6c5VdraGgnsV2CGJjQsOE6Pt bLkqj2YFmX0qIcL6iiHW+FvH4dAbsDutVGsnhkq0/bXQ25ghHr7A4uHVDmleGJyxTuvw dQQRf2soFV2Fklv290HE8nb65fsb4v62Db3b0WCBmwT0mrfeDq2KbgcnFzU64l9KSfVu guFshfJJgfLJh7CZsM+5rDvSsVuqOmoLlV6vpibg9XB103iFVv5NWn2g8bDM9wK9LqtA M6vA+LrnXiHR4ZAnZy7/3B1XJyy540jToWEP0E7pcTrxv56hRapycnzF2pLH9OBn02n9 886g== 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=mW5f2DAqwdVBGC/OV1BRfME7TcPMYzL6WoPLqNOQzwDznOFq13mQwXpRXl+LW7UMRP dSSZkL36im+2Hgu5/7BLPhhmjyWxJozv/JpK9FHEY7neAS/slP/nvD4ezntSRPRA8G+n RW8GGD6MWtDeorE5iqj3/dBdC5WOUd8bNLu9xAXOZ3fh1pq3KipMbwrsBTfALyxyLPD1 ovc9bs/zS4yW/dmiefPuiy4N7gBFPDj+OC0OtVVmboNnY+63QGnpTW7TQ3wQM/y8iFWV o/jjwfQ662Gex3HF9wzVSEPDUghAY6OyMz/ncC0LzGGi5LFMIp8LNtLeDSfX5hXYjk60 1uGA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MlZE2DM0; 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=g366ZHZXvX1ownw8JbZBl2ySVPHy1jurq+4HSIMxDIHyKDuJ0BUws7exWV0Q04gjxM aL82wWKNxPsknjJnmo2OU08X1wXFGlJED283sSLg0xqXJhe3aaDQNxXTGPEtYzpbO7eg kvyJj1NNRDtN8xVj8SsemtjYAMUxYYj0hMalk= 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=Qoq9+FHot7LTM1TZJtxY7jnEoei7z+EFIRBG5f3mzJaiiVf8xl868YC5TJpGC6BWeu cE8i8qA0o1/nBBWj1klaDDQoB5C3lGAQiFhOlO7VjeDyB9Dcje2bZU/K4A8nNgYaNcZF pCi47LEieIh2kL0pb/H4oTIFXeU8stP5vWILbinz+f09267Eh/1vkmoP4vUJLEkfWqTD Si+5u7jjCcG/vDB6JPIdg2bhMb/gisQfNRbNoTrkiZCUkKb997ZPww5h4Vd80rRQJwkw CjFzJeW9ghuJRSNVHc8GcSSg/Dc8OHKN67943yxaMNOeT0hQksS3BzVaiyoYO3J1oKhg dnhw== X-Gm-Message-State: APjAAAXMc6Rj8mtfGiA4WVZLJZSqfNXIQ/q0WWitlmmXUz3CpUvnCRfG YXALTw9mt9IxswJOs5Hx/JOv8RMH X-Google-Smtp-Source: APXvYqzWE6MkSWc1LpnUVKYaMId0VzJ8SQLPvLRzGCbzkPeVYbetwntuNBcL1A5wqPIc2AYHdjhNAw== X-Received: by 2002:a17:90a:22e7:: with SMTP id s94mr45999487pjc.12.1577694515342; Mon, 30 Dec 2019 00:28:35 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9f95:: with SMTP id g21ls5898905plq.5.gmail; Mon, 30 Dec 2019 00:28:35 -0800 (PST) X-Received: by 2002:a17:902:6b8c:: with SMTP id p12mr52123374plk.290.1577694514820; Mon, 30 Dec 2019 00:28:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577694514; cv=none; d=google.com; s=arc-20160816; b=tVdsk+q5KpHwTNMs8Rds3DJIUvFBOfnepnpa9VNtx6w2nx0Z93Di1DkZ/p04hz9YcC m5UqFvW6eL/EgyEBUomUxlPM7NrsMtm8Q/C8h4MP+NLbe8fvSDVVo7rx+7qABj2KqSsi Qk1M+XPr4Lgt2Bt4B7+m05fTi1Hdo7MGb/EJUR7u85fyW+DE2s+pMfU/mbxM2plO9ClO /PY2N6iyUfip4Ek+u7O4A8PsRK7oWdNJ0vik2jQAupRVnsq7gOYFaJvDSqOkkih/ofQO M3cBKb0Ywa2bG8iv/Jav0tgVhWmKBhDYx6h+T2N+dL/N+1+ffkh2xO/9RiMZHBWGUEJJ w2PA== 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=ePgUSVXQfXA5nE9BNWkw3VTSnheQ4bRR2qV3iphTjCsFuMd2fFO7Bv3ObIJDyyTDpv jgC5q7vfS+PTrS5EYwd5X1+E+4P67YJcoM6IGIoxiqh1pXGOeUMzP6DfdUM2g839CYFf NQxkPzbsWu1zzLFCO1sOAFfw3ar2IonN2c1/jj1STxXl6s4k0m5X7tx56nqfLYRlsBmy OxpveMVfhXCXJi2QU4xWb3uDCl3kjmqiFjbn2emp7BrRrWoZFimFTVuhHXw8xunMlmET 3p4CzzsQ+ITuKGfyTxxCTb88FA6ZRjSLT2xXPUeR8QVmO/YziLlQl2Bfv+YI9i5RsrG5 IO1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MlZE2DM0; 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 t39sor23592900pjb.6.2019.12.30.00.28.34 for (Google Transport Security); Mon, 30 Dec 2019 00:28:34 -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:a17:90a:8a98:: with SMTP id x24mr46130229pjn.113.1577694514556; Mon, 30 Dec 2019 00:28:34 -0800 (PST) Received: from localhost.localdomain ([49.206.202.131]) by smtp.gmail.com with ESMTPSA id s1sm46240652pgv.87.2019.12.30.00.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 00:28:33 -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 Subject: [PATCH v5 2/7] Makefile: rockchip: Suffix platform type with tpl name Date: Mon, 30 Dec 2019 13:58:14 +0530 Message-Id: <20191230082819.30191-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191230082819.30191-1-jagan@amarulasolutions.com> References: <20191230082819.30191-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=MlZE2DM0; 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