From patchwork Wed Oct 23 19:56:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 874 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 367D03F08B for ; Wed, 23 Oct 2019 21:57:16 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id p14sf1972552plq.2 for ; Wed, 23 Oct 2019 12:57:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571860634; cv=pass; d=google.com; s=arc-20160816; b=z40fbYphQTNb+vjWQUCKqQNIs/Lz4NH+J74B2QP2xS2cdLeTQQNJIsxWw369qWEU9+ IqDBT+FjClIvDc/C1gG8vXIRJ8u8zDvc1U+rTNLhs5G2a/nVHSD7HGjiGSDgU/4N9eA1 6mT0VHxwHGJTIgNy/hh13PWbeedgZUutyExQ2/D8iEv+jrXRvlfvHqbkynZNl6/eZg0t n9EoguCeY8MAzZohpq0l6AWb1AHbC35ETqDy8zgX7WF7u/0xFdN+kC7ssmKh4S9gyB45 SwWDW9bfmpWVYlTTxqB8RGEFqK3Yb5mwY7WivGvvudZpwZ5zkT3Mqxh4uELBKHumiDbB yeYQ== 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=OIOzl6X+zExZHHp6Omp6QoarhLF5IvT8NabzmdkIKtI=; b=WIuRQae3tm+C+twbGHG9/gTiqqD0HKBRQfQCfgglpNPvxS7ayBIGkxKQm6Szkg1uS6 wCiWPr16U/O9oDVBqRo7xfdSAL6ODakUMVHmg1SOFqi1s2JqwQXONGR4Nv4j2WuWAHNo aY8pXhL9eRbzrPFLpRxJIFUXeWSi7WH1+BUFcInl7apFRAQxMVx0U347gQoQ3iOfY9uS P/wG/zhRspuLawzmoY3sS7jwUrejqnnAhjNrp2fOC8SpQ25KOYF10ueTpH/SJAVcocib 1cyVKS2lupbc85oFEzddIS2E9483Qj0bmpeB9ooWr9J5OxnglwABZkbEENC27TLs+9Ka LkmQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qTVF1+3U; 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=OIOzl6X+zExZHHp6Omp6QoarhLF5IvT8NabzmdkIKtI=; b=VfqlibIk5PI1cudPi/yGTVq5dpCpkUK+QTklQmp8AaqlD+3oV9GFu4Q8zYH5ft+8ev jQns02ms1zeHFigD/+gSLj3pd+ZNtSN0DusPF5gpA0nrgJizuW59nTxgMb8KMR+PDfEO cT91akeHEp1PPy6tgemeXcI9UfE4wxCXC3Iro= 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=OIOzl6X+zExZHHp6Omp6QoarhLF5IvT8NabzmdkIKtI=; b=IFcYaKBifJOlfyGHUz6XsMz3pN/a9kMRoEJ+L7vf6wpk72DrG3I8KApjgK+7wTT28P y4pIwVM/z025Fk5F710g+iDTtu/y9R+Hc20UpjwCP496OolIouszGxiCsT23n+KPkd69 BN/DmcX6O/elitb2rkVBMIZjO59C76nmZBq6mg+DM8sf0Bpsk+L3CjZcIvLcG2/4I4RF bkG/OoHxeMdGKG7vWnDUJUASfjy64yKe9VRNoZAuoZz7mmCYA6BpgZWcqjjRezCSvmyd j5RPN7PN6/KN/pEocS47jTPMCWg+JjKoqST5R2Oq5RWIiP6vr3d2WMLhitO2tF5FBRkE VXHQ== X-Gm-Message-State: APjAAAXbAG/c3I8ffS7R0cP7fBYHTsJrn8DnpscvpvRsJzvHLvKvlnub FCcGmWjQhEq0ZOytbB9+Ilj6RwUo X-Google-Smtp-Source: APXvYqy4gJqjAhjuVqWRLciWnyaTA6Qs8EtWUUU1GnEXj2u5Nw7H/1B2UsoTQl34aI1DtAmW7gQz5Q== X-Received: by 2002:a17:902:7483:: with SMTP id h3mr11673873pll.270.1571860634596; Wed, 23 Oct 2019 12:57:14 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9a02:: with SMTP id v2ls989894plp.15.gmail; Wed, 23 Oct 2019 12:57:14 -0700 (PDT) X-Received: by 2002:a17:902:9687:: with SMTP id n7mr12099011plp.166.1571860634123; Wed, 23 Oct 2019 12:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571860634; cv=none; d=google.com; s=arc-20160816; b=Jw0d5vrK6iJj9IsGHxD9q+iyGT57hiEQyaIiM2g0xd1ZQ2xIdgld/8KGqKl3H2sLIz OD0Tq/OvDVt/9v7joSiaLLWsWULu/RM/yqRCNLtsneysP4Lx15HWhT6qW/iGVQ9qgSra Bbo0KXn243THXjKa2EkOzFRlHN8nigl1lvHfkOJp1nMlqGy+2mPdBPAOGqFV5JiRI+3d n3ZFLxYEm5t681g7Aak3d7kc6Jx7lywC/FjptcemjSuIWtxL34zk46fXOGlQauwobM22 L7uOCvw8EzQxWOhZjMYfz1PKlnLVyGUMAt3mOkWA3Ekz6xddlv3XhDEdKMlcDEPtsvcU n92Q== 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=I/dSc8zp8LBqE1vw+ydd8HYusz0zf83BUJfCTXC08WE=; b=pIGXXYrH2agVyGHWclUK0RN1789rhSYciwMOLdWf46OszCfLXZNkpAXqKfsMjeaJ1C fh7Sb+VxkeR0FCwsmN8LojRdNM6IYaM8NAULoDbf47t+7qGBM4RqBSmqFzPQLiqU5gEO F9Tg7JvADR/inhdw18Z+yPsD6G/Wyq1QN+gb9/UlAK98LzazMUrScbGjGWzlMpXpEhkc zWdY+zcOTmL/91+6sUwV9hs0YUK/MSS2VhCwPsYBF+pPHlsXkQMdcupn9th7QYR+juUD lrLKg/qZJ9p8Aj05eOQxMq34MLmFcrmAxfWY4paCGCEY1w8XVVmiT+lS1fybMg+77PPL 65wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qTVF1+3U; 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 35sor8715645ple.59.2019.10.23.12.57.14 for (Google Transport Security); Wed, 23 Oct 2019 12:57:14 -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:a17:902:a712:: with SMTP id w18mr7908388plq.304.1571860633624; Wed, 23 Oct 2019 12:57:13 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id o185sm31499280pfg.136.2019.10.23.12.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 12:57:13 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v4 2/7] Makefile: rockchip: Suffix platform type with tpl name Date: Thu, 24 Oct 2019 01:26:47 +0530 Message-Id: <20191023195652.7158-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191023195652.7158-1-jagan@amarulasolutions.com> References: <20191023195652.7158-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=qTVF1+3U; 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 3e05d3fcfe..40cbf68fef 100644 --- a/Makefile +++ b/Makefile @@ -1342,10 +1342,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