From patchwork Wed Oct 23 19:56:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 876 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 0EC813F08B for ; Wed, 23 Oct 2019 21:57:23 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id k23sf8119814pgl.11 for ; Wed, 23 Oct 2019 12:57:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571860642; cv=pass; d=google.com; s=arc-20160816; b=b7RLCeZea+XXXWbyuVHKxd8iHEB1dyLUpEYJ7KcxWGNtVI3IrnB3f/zVIs1bvNHytv tpFRJNpPDdTkWnU51co7v64leDoak+rDbKJa7z5zTEQPAkMtfh11G3HUt5pqmC/un4BZ QAQaAAFtiDH1uu1GP5iVzFLRoZ6btajU18X5Z+V1yBGzFdHOtpL+j7oQlU+LYKoxLUTC ZPDEednPlGXLXbGNpk0EtCvhQVs6jL9k9HLrk67REIZlBMyKRjBCkn+qHp/KLCw4l8Wf 0QI8lb4APHBzkOeJQTKaKjp9wq0xoaEitouk5IUGMCSrVNlbrfTCeNV3978HhytF3yE5 ObnQ== 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=GlcUOb86xmnmAcY41HZ9LLBqBVbib6JY9ixGBTBnsmI=; b=EgglMEA5lMmypjl+fVgqqfU5EgbgvKKBANZbgjAfpRvfvR3frfKr+tyKqcby31nfND qES4YvBWl7xCG3gWwK0qUWZ3ypU4zDW721zY37C4M6Pri6GDKpB9Hif+ZAxCxjZNpd6q X70xHTUghxwcsYcNa+8OGwkqmLmVPnSJ+NhUUgHtNHEvRupZ1aZnWrEvtCwUwrcCZSCG bUfcuG5MHDh5LDNUxWTcn/ckZ6t//xfGAQ6qb/Jw5DxVDQvQpjKhiNHxq4RpPeKgFgwf VNZm4hoWRV1Mt0//H0LEvbICREvhHVfkOHLsctC7SbgimL+hsIeWqU+ACdCuFno7GP4y yjfA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NPuhww57; 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=GlcUOb86xmnmAcY41HZ9LLBqBVbib6JY9ixGBTBnsmI=; b=PwmDaveumMWtilJesy+m8dsUeclmOmntpzFk5cmD2u19rgc8CAcmtnxZdw5J3ljJwt f0sFIXp87nYc/ZVL/+mMdE6LsdBdd5h1xLJo8b56/xUVrggYRZWM1RjBUJLULVN7qBrl STil3kC57FW+S4IwDSp94gPkKh295CiQ+clDE= 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=GlcUOb86xmnmAcY41HZ9LLBqBVbib6JY9ixGBTBnsmI=; b=a8XcT+IUZjIqhINyyJL4Mp4pSOiMOuskxebeRq00pn4a5+PPd/AJnZkfzZLOYmSADz oublYOhDhy5e7i75uDLQC+WF3ds2q35HU6/QNiVCrSFDhCZeHuybYBni54IUEzZvljB0 dEcOsQDfI0Oh9uDIOgON6/pYm8W7xwYdnZcs01T+c7N01MABg80fjAUog4LYcfUepmSN aI0iz1rL92hCPIwGXXe8m0d3wQiQRTPtVx71W7aO2jbhAFW0aloZCecRSXJ2BTp+u8ze 7LAVuIK3uOygd81EGSEskUV/AAPjDMBUG9mvJ3e9pBmsr39Ugc2ckz26P/xyGge8KIYV 4e4Q== X-Gm-Message-State: APjAAAX897vD/goAkJtzG85Svlp+RU0xIO+qIepoym40tqfdIXybmXoC AM62I3M72qllGdKu8N/fnury5tEP X-Google-Smtp-Source: APXvYqzhwmz/1yocgqTI1mOAfb5njHinREKbn1Eb4qefvLFHthhjUvJW53+K9YJs+bvGKa1kznowdw== X-Received: by 2002:a17:90a:a605:: with SMTP id c5mr2279634pjq.28.1571860641864; Wed, 23 Oct 2019 12:57:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:8f8e:: with SMTP id z14ls994188plo.5.gmail; Wed, 23 Oct 2019 12:57:21 -0700 (PDT) X-Received: by 2002:a17:90a:c717:: with SMTP id o23mr2169042pjt.88.1571860641396; Wed, 23 Oct 2019 12:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571860641; cv=none; d=google.com; s=arc-20160816; b=Qn1wCFFslpJYsBSwa/GXOIBH+6rwsOwoHuogROUYPW/1Gl113keJK3R1XfV49Kk86f 4jZ+VIRgN85UaVh6wDIlT6A95RdTPVwyuh9mhOX/3FMod8mfV8Ya1DXmxBCnytF02AIL z2XvLM/M+MApLI1aDhk1E8iqt/mqi3Q5TacMwZTS497OqsfB580PrRbcNQtUFOpRQbdL rphA+gdlTHa3EHvGaeTHdBtrmDxSW+3HY9Z5AV2HbKw/xRS+VUdLzXac9iJgqtXyQDBP 6R3/knnlt5frjT1oQwwPwvztnJUs//ieJP2g0SN1CCSBTfXmTFbV7q0E6kb/J6aYAd/q zL4g== 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=UfJRc8TL8ngreDxjNIKHRBze0gZ+aNZujK45sWM+6K0=; b=UG8slAqutSMfkjQSetQ11yn29kW7gN+qWaUZK94IqLMOjDRGZpyHacySAY8x+/lSYT V4L/+7kdEEZ7vLTpesmKRqH8kfZK/3CIzxwwRcUDZPwNSzQdatOM7TcMILWfia3mtcIu WQJ+x6aadYY3lqeIScFndpXmdL4O2aVOuoWfPVSWRSbMgxAHzecWYCAmLmwAPmll7v90 8REDimBzl27eRAlUSSmKon6MRknf6c6MOa38u5Y8ZpoxhIa8FMw1Q/AlL3WFFA0Q2/JR grjGLKn41djZuBMtRlBpWCtRHdop0PraP1+dKA0a59auBYkCgrhWK5jEB0H6RQgNrjMl OKSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NPuhww57; 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 j123sor3007878pgc.60.2019.10.23.12.57.21 for (Google Transport Security); Wed, 23 Oct 2019 12:57:21 -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:a63:5448:: with SMTP id e8mr11897058pgm.10.1571860640602; Wed, 23 Oct 2019 12:57:20 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id o185sm31499280pfg.136.2019.10.23.12.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 12:57:19 -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 4/7] Makefile: rockchip: Use u-boot preferred spl name Date: Thu, 24 Oct 2019 01:26:49 +0530 Message-Id: <20191023195652.7158-5-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=NPuhww57; 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 and particular boot stage on their image naming conventions in makefile like, u-boot-sunxi-with-spl.bin - Allwinner U-Boot with SPL 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, use u-boot-spl-rockchip.bin instead of idbloader.img. idbloader.img is still a proper naming for rockchip external documentation but u-boot preferred spl name would always good choice in upstream tree. Also, bin is more conventional way to include it on tools like binman, pad_cat etc in future patches. Note: usage of platform type, boot stage doesn't follow consistent oder as of now. Signed-off-by: Jagan Teki --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b58107d6ef..a4278170d4 100644 --- a/Makefile +++ b/Makefile @@ -887,7 +887,7 @@ ALL-y += u-boot-with-dtb.bin endif ifeq ($(CONFIG_ARCH_ROCKCHIP)$(CONFIG_SPL),yy) -ALL-y += idbloader.img +ALL-y += u-boot-spl-rockchip.bin endif LDFLAGS_u-boot += $(LDFLAGS_FINAL) @@ -1347,11 +1347,11 @@ ifeq ($(CONFIG_SPL)$(CONFIG_TPL),yy) 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-rockchip.bin spl/u-boot-spl.bin FORCE +u-boot-spl-rockchip.bin: tpl/u-boot-tpl-rockchip.bin spl/u-boot-spl.bin FORCE $(call if_changed,cat) else -MKIMAGEFLAGS_idbloader.img = -n $(CONFIG_SYS_SOC) -T $(ROCKCHIP_IMG_TYPE) -idbloader.img: spl/u-boot-spl.bin FORCE +MKIMAGEFLAGS_u-boot-spl-rockchip.bin = -n $(CONFIG_SYS_SOC) -T $(ROCKCHIP_IMG_TYPE) +u-boot-spl-rockchip.bin: spl/u-boot-spl.bin FORCE $(call if_changed,mkimage) endif