From patchwork Thu Jan 9 18:46:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1028 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D2F603F042 for ; Thu, 9 Jan 2020 19:47:55 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id c72sf4494274pfc.0 for ; Thu, 09 Jan 2020 10:47:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578595673; cv=pass; d=google.com; s=arc-20160816; b=jlaiWB28tq4S/CwTfx4Tkc4ElEnWIMK0QClmvkpgntghhJ7THyCBZI/c9Omi3CBzAi WP1qviTDNg2HmhJxzaFHI1jSPzVnyJbnchRLonwHETvtmXrySYBvB9VIyeRusNsUEecF XAjEdgIk7rfIDEj2EMa+Ua2a+T7a20m64kjQkT7oG/2MzPLll1iNryl9H8LA8ng1eTlY u5Rhd5FHH5q7iVOX1xB39Ai/8CWDbmgFlCa5CTNIaLl73tntpqGoiVMkU2A4Fz+ySUbo +w3mDe1FOkqK5DY2AWNPNBxFNnacUyK0ZnrqG9HVCfvw2WUGnZLH7CG5vjAn9+D40ApA epeg== 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=jtuEzZDDbCcjOW1v/2bd9ZZ84q7lXsFGsEpZJzqLyII=; b=zBeZJH9UkRoDbatK01ADaQPmEpODUUJsiuOJaVnttjFRqXT6ShFn3CFCY9Ou+ntQei 1R/VZXX7Q74GAlF4GX1+3RzFXKBcgiYoKu4NM7xQRbX4QbQ9bBwWWmeVysPxU7vyjwEZ 8oQvxpK+d9Cs+/nUOLJps/BqKJWx0J4ZlV5xmZZC9Zj0HpuAZXZaO29g1vjdJ9fwQJdx IUV1CfjDaL2stLM5NHB6bmn4yKJ027pKXKoS+92JcQ6zoM5ih3qkDSRHGrFSKgPfAFyu KcX21JyIaSZazJjHfj8rYS7uA2TYPhX5IOGUTjGYW1sF+1jVKBZY59o0Rzyn4byuyaEW bPrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hyrLjcMT; 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=jtuEzZDDbCcjOW1v/2bd9ZZ84q7lXsFGsEpZJzqLyII=; b=dticra/YQtu7Atk82BJnsH6l9anFVdJEDkbPzU7hr7OtPAOjhI0aITE8L5zFjOR+S6 x40rHEbdLW35FO0MUP7L1ViKRqOmzrR21SDMj/bPv9+F5Cb8DnKaeuxwi2dRi5cCo5in Ay+EhTl/yEYExnS9cIYNZPWR67eDRGsHK9M0U= 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=jtuEzZDDbCcjOW1v/2bd9ZZ84q7lXsFGsEpZJzqLyII=; b=hze/shEqQAXMaRY2lAVbYljgA4GOCO98ct+MENUjwQT4l8O9QGEXSc0U5PcAoQ4cur 28MPOyrw0ZemgEof8FcbVveJKj2Jf6kVpKdyTBiuOr5VtlI+r3HYBQbsRKHRPh2YAO5t EqOsnUaR0YB2yDddrNtmNnl0NLaPN81COnxnwbMEvSiXFbQADa/rO+S1l10SJzJf6gnn DsOGuBcPd389K1LAzK0pVkg2MfqqkiAHd0yapTwuxyqTpnPGBBCmze1JFzv+7/0eV10/ E+93nH7QWMUY8Rbg3cdjmzKKrQhJlf1nwDJFBVn+L9PeAyiR33yifyUnKatW8oWoad0I AcEw== X-Gm-Message-State: APjAAAVlQ/g/yWhyRyTp5ggf2/Y2IqHx5ROjrLPHd2ZH6jOtNbpgN3uo 5U8agJkGXOkqWa2NyXRQHcrzhvAv X-Google-Smtp-Source: APXvYqwiOCTMt+8bJqrIYn96t9bqjBl3wXykmxzKAFDZd8gIDx63s1gOuz9efH+3l4INX8RiklwUuA== X-Received: by 2002:a63:d041:: with SMTP id s1mr13013461pgi.363.1578595673804; Thu, 09 Jan 2020 10:47:53 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:c5c:: with SMTP id 28ls790176pgm.12.gmail; Thu, 09 Jan 2020 10:47:53 -0800 (PST) X-Received: by 2002:a63:eb02:: with SMTP id t2mr12886603pgh.289.1578595673298; Thu, 09 Jan 2020 10:47:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578595673; cv=none; d=google.com; s=arc-20160816; b=GgV2V1OWw3HUxI9vPNF+IiCslVB52yl57U/vmAoek5GT10/61s1QbEU28e6rSKao1c HnYsOn+RfiXKhI7KbS1BIITjEljm5B6ZxfIhsxzcxdtqSnjr1Tz2hezg9m3PwfQtnzq+ kKTUD+y+L1j2TGClic2auKj5cr4py2EWOM9ve4yzRhiwFsx4xUjNJqCCH/lPWdtJBaIB rGl+9XgraicTCORTsoboHfhChOGSLO8OJk+QSHrpowi08t9KzomtAMbj2U9cEkkeaI/v 7Ot8e+qFnfHrey5dvr5fKzyicrk/k3vbdHz4IPvVwvanSFwSFEiDrBCktJuyX7Y5qX+t 8nig== 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=svFOCP+Hi5ZqvIKYRk6Zycpu9rLX5NELckQLxT8y0tQ=; b=RS5+cSTOOtS4wQZ7wbAy4Vg0k9tC9CckKv4MogBsF1BKQsxTNUoQO0HgxlUQWTKNhv ThS6ebjt7IJ7tLyLL7RlmUn6vUnNYh+Eo+zw2vyO3bnIUbeGxw9e7BSHzoBDdVt5se+M 4i7SUfLUpmiVMZ5iNdIOERiXexDdJVGIQgYgBqMqt3d9/IHQDfP1r7vWVDm86MoYYLsU NdT4fjDHoG5RYUKDcBHoq1a+I2AMygjPynFLK6PZApZB7P5xTt4+JFRD6EKgq5z+eRfP 1RRDlsJpOOr+OF7DRjTpzSL5991v1mUVIXlNxXXx8R1avE+C1fpGZRDH38vdMaErNV/S crYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hyrLjcMT; 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 f21sor8118723pfk.37.2020.01.09.10.47.53 for (Google Transport Security); Thu, 09 Jan 2020 10:47:53 -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:aa7:9191:: with SMTP id x17mr2565462pfa.38.1578595673069; Thu, 09 Jan 2020 10:47:53 -0800 (PST) Received: from localhost.localdomain ([2405:201:c809:c7d5:c4eb:be5d:1485:edee]) by smtp.gmail.com with ESMTPSA id i8sm8967306pfa.109.2020.01.09.10.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 10:47:52 -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 v7 2/7] Makefile: rockchip: Suffix platform type with tpl name Date: Fri, 10 Jan 2020 00:16:17 +0530 Message-Id: <20200109184622.3098-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20200109184622.3098-1-jagan@amarulasolutions.com> References: <20200109184622.3098-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=hyrLjcMT; 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 e264b2a49a..50ac12fe9b 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