Message ID | 20200104083806.3930-4-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBB46YHYAKGQEUAIIFUI@amarulasolutions.com> 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 2EACA3F08F for <linux-amarula@patchwork.amarulasolutions.com>; Sat, 4 Jan 2020 09:38:33 +0100 (CET) Received: by mail-pj1-f71.google.com with SMTP id n90sf8627238pji.6 for <linux-amarula@patchwork.amarulasolutions.com>; Sat, 04 Jan 2020 00:38:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578127111; cv=pass; d=google.com; s=arc-20160816; b=xJB/8maa2qFghp7kGQCNZIit7nzaIlJU206MYpVNTjQXeJaHgZ1rk82w+EWIjW6Ir7 GqDOdktX52+4xAv3ESL7HZPcGMShGiiWbAraNykrHgYdwqvyZJqvXW6CgFR1W6ynG1ot k0dq8xjh64chDXIQmydkeruuuAXWvtYmZ1u8W7hdlTg7o66r03M74xUAFddPhXF2fJr3 eal2/lJhclNg960DppLAvkjH+4vC0d4bVS6ZV0mAHDjlf9m8r29H+Rdkn9htupka0lzG XwnrA9d67AT+kHg6R1wMlffTIwWgJ5p3H84C7DY9v9b6txBqkvx8DWjmz1mjaj+6Fla5 iQwQ== 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=fboZPpyeSckHukf6E8iZq/ccZEILpWoAt4BR+OpAyKY=; b=sewFf2+1yr6laYsoVdTdzvHAy2zgJ5j+magz8henrFSbLJjICl/bO+VdmCP1SnYlI1 5EcD1hHJbmcVf3jMKdwuHtxMP8lN2dpdKPbTjtYxCk36RIyD+80ZhcTWhLvmFbgLJkxA mDFptb30x6+GONhO398E47IbyNSyBH5z8c5xeKyhrYIFNK57SBo99v4J9D8Cyuk4Tu8d B8hFULr0Mwe8OUwRUecRl79XDUpQtNduGQN5kiZ2zJ2OycHmN04dMndglLvxKXfW+KR7 D/HsB3+kNWeSnnk0+2b2LGr/EDYq/ZLZTUsNZar1ZQfIfGzmPsv9rgJvfc2gQHsf3WIN T7+Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W7T61wSE; 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=fboZPpyeSckHukf6E8iZq/ccZEILpWoAt4BR+OpAyKY=; b=h3D0/TUSrTANSTozCibpDWrHmOh3Y3ysth57TvjPnW0cPAAKrIOZQs9BrBM9NJkLGY Dx2OiPI7kAJB6Jh/iMxaZle25p2DF3DGlvJuQt4XzAMLbTKomRFGrG9Z26iqu5OcHnD3 /LlU/AUV0zcSnXKFuipud3AdbjFAEggvlV3VU= 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=fboZPpyeSckHukf6E8iZq/ccZEILpWoAt4BR+OpAyKY=; b=dozlrsRD0wGIZ5eiwDav/mxcwqubzq7nZfTYuD6SpbhcI3QznCsUPBuUS4pO37Y/lW S6va0NBXHDrPW5XNaoakPXX2HICxD6Krq7+HLZSk5Iwli8Kt8eHFspeNnmb1oQy3C1Qo bsHjvsBmNRWRsYABIKuLGac9w79Fh9l6zMSyDF1oOCyf2LWfvXG0XjbcHFkSgKwyFjRi U1/Wv/P0Oc7tFHxl/kViRcXzblgvHzQpgwZph0Bs2qityCENmBKDGt6fhJs5Z+CV80Um 7EH+e6qnFYxHDKSKHJpx7VGUfNNfmD1C3B//g8tOn/CmvMtm90iyuuTwzgws+XeXiTGk 03pw== X-Gm-Message-State: APjAAAW4QD5xDhVnZEb4Gqmx3e7Ni6hv97hUohNllWIiNLts2H6oB+uC Jj1ARGgKbxPOtlxjOSjlsaqPXCmj X-Google-Smtp-Source: APXvYqxngi6g2gatF3qFKGfRTWOqFqey9QSDEw7h1pVoQjlu13pcgicaQSZArPa95OdN6oyRvTZINg== X-Received: by 2002:aa7:8e8f:: with SMTP id a15mr97532925pfr.153.1578127111713; Sat, 04 Jan 2020 00:38:31 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7c94:: with SMTP id x142ls14172099pfc.3.gmail; Sat, 04 Jan 2020 00:38:31 -0800 (PST) X-Received: by 2002:a63:ff20:: with SMTP id k32mr97598886pgi.448.1578127111151; Sat, 04 Jan 2020 00:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578127111; cv=none; d=google.com; s=arc-20160816; b=cGI0Bz0b94xVB5GuNQBFNhW7Nl18Lg4mr1LLm6DF8wh5o+cIU/LY14mXO51YGixKcv lyaEZIvJzj41QAWx1WRsppUWAz88gM/bn1RueDrV1jn2s0hdFMVpOwntXnD72hBJ2KeE jngb2enBcWBJOq6LUu2B8Oyn4bVMFza68s8ovIv6lAmaY5ILZsb10OQdfDcVyhbqMjll IaOVwJXbYt/Bq/JJDHYzBrTvi5J60pg7V6btt17To/wDxJvue1SMBG2jmw8iLePuQ5OF +CS0To85PKlLr+Y44nTI1WpL9YwlQRrBpjisnBmBfRyvdZmzjeLi7/HyOLrozvjQr+Y1 zu6Q== 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=fCEJAVTeFVKCDScEQscaeQ9cpdN3+DTMCdxgai1STTg=; b=n2k1jgwviRTAJYJHt2gPm3phYD36s5rZsA+6ItnVe+iR8AzwGyORxEOxfscHobgYSD OLQy/1EJLENOpIi+d1Ci1DEvST9NpZPHYtb0KB/kFythH6eteWHHYzu/olKNxYw936o5 snKAE8Zo63h20ogM4BqlHkkzZFES8yCDZW7fH2pZKlNgeLx/a1EQqJjxThVw6JGkepPS xwN8zdsn3n+g36kXqepuBltalpjT6uLn7wXp4Jo9L+RXzDFz9O0a5s0TBzmpoHE9qbCH MDcCXJm6Lf3AUXmCzEI6TZHGJXu+ogRC9hBjfb71JyKFDj5OaVAdV4RvVErH07R/yuEG 151g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W7T61wSE; 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 p15sor61470324plo.24.2020.01.04.00.38.31 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sat, 04 Jan 2020 00:38:31 -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:902:8e87:: with SMTP id bg7mr70053365plb.279.1578127110826; Sat, 04 Jan 2020 00:38:30 -0800 (PST) Received: from localhost.localdomain ([49.206.201.128]) by smtp.gmail.com with ESMTPSA id z4sm70201623pfn.42.2020.01.04.00.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jan 2020 00:38:30 -0800 (PST) From: Jagan Teki <jagan@amarulasolutions.com> To: Kever Yang <kever.yang@rock-chips.com>, Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Akash Gajjar <akash@openedev.com>, u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com>, "Matwey V . Kornilov" <matwey.kornilov@gmail.com> Subject: [PATCH v6 3/6] Makefile: rockchip: Support SPL-alone mkimage Date: Sat, 4 Jan 2020 14:08:03 +0530 Message-Id: <20200104083806.3930-4-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=W7T61wSE; 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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/Makefile b/Makefile index e519103be4..d8a0f68883 100644 --- a/Makefile +++ b/Makefile @@ -908,7 +908,7 @@ ifeq ($(CONFIG_MPC85xx)$(CONFIG_OF_SEPARATE),yy) ALL-y += u-boot-with-dtb.bin endif -ifeq ($(CONFIG_ARCH_ROCKCHIP)$(CONFIG_SPL)$(CONFIG_TPL),yyy) +ifeq ($(CONFIG_ARCH_ROCKCHIP)$(CONFIG_SPL),yy) ALL-y += idbloader.img endif @@ -1382,11 +1382,19 @@ else ROCKCHIP_IMG_TYPE := rksd endif +# TPL + SPL +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 $(call if_changed,cat) +else +MKIMAGEFLAGS_idbloader.img = -n $(CONFIG_SYS_SOC) -T $(ROCKCHIP_IMG_TYPE) +idbloader.img: spl/u-boot-spl.bin FORCE + $(call if_changed,mkimage) +endif + endif ifeq ($(CONFIG_ARCH_LPC32XX)$(CONFIG_SPL),yy)