Message ID | 20191230082819.30191-2-jagan@amarulasolutions.com |
---|---|
State | Superseded |
Delegated to: | Kever Yang |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="pZVHLKmh"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47mVvS1XnMz9sRC for <incoming@patchwork.ozlabs.org>; Mon, 30 Dec 2019 19:28:51 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B027381683; Mon, 30 Dec 2019 09:28:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="pZVHLKmh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9308A803C2; Mon, 30 Dec 2019 09:28:35 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E013D803C2 for <u-boot@lists.denx.de>; Mon, 30 Dec 2019 09:28:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-pj1-x1042.google.com with SMTP id s94so4474818pjc.1 for <u-boot@lists.denx.de>; Mon, 30 Dec 2019 00:28:32 -0800 (PST) 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:content-transfer-encoding; bh=uFc+KeHVvPb55BWADcWbagsPR+XJZj6DCQVbpAY2/9o=; b=pZVHLKmhQPyIhmrgYudt1QMwR8RXPa7rUghgK2kEBPmRKjm00ENSHFgd6ojRPNkyZx rSfcfFGKhfRdTpRxI9qgPqDPxkKymljB/yG4rW/Q2YMY76Q3lQhHcvIktP5co5zf50ZK 2UsKygSk1t1UUTILbpF8f748LyOyydxZpN+gs= 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:content-transfer-encoding; bh=uFc+KeHVvPb55BWADcWbagsPR+XJZj6DCQVbpAY2/9o=; b=JUaIaMhaZjUJumxF5UTQML8qNdqS6lDCXbgOa5R70T/VVhEelNloC9uA6z6QfCmGgK pc6nZiYgHs2S7qlETLu0g6xsNdZ4ppy3DfZ7ySng7Yc4OGS8HW2WuD/86W7L786/H0c5 BmaygWMM++VH7wv0wpfCiLaMINHiXW39tA8ANyKiNABXjNIYMd1ZbehVG8X0Uv+cgAwI jGk5UyJ+51cPchLM/pzgqADb21OOSPm01CWwRPXQQBIEIypztiTqmjQmeFTJyf1abUNH yyX0SMFPwCs4dgu1hFxYQYCGXM1OKNPLulOsRUslGhAeJBhLQmMKaP6ky7d4ZSEe1f5F 6jRw== X-Gm-Message-State: APjAAAWZeLZc9p5yPu7dSd/NX6yFbH+pEjy4FNZRHZmrTjdN4GOcmN4s XbpMSZA0jT4dBpP36RzzCj2Jkw== X-Google-Smtp-Source: APXvYqwcQquGQtB+QP8S5L5ZMvPe0XGSVgp0iKPri9RhGGdS7/9kp/oAImyLau4kQrcs00EvwYqb3g== X-Received: by 2002:a17:90a:3763:: with SMTP id u90mr45074959pjb.107.1577694511520; Mon, 30 Dec 2019 00:28:31 -0800 (PST) Received: from localhost.localdomain ([49.206.202.131]) by smtp.gmail.com with ESMTPSA id s1sm46240652pgv.87.2019.12.30.00.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 00:28: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> Subject: [PATCH v5 1/7] Makefile: Add rockchip image type Date: Mon, 30 Dec 2019 13:58:13 +0530 Message-Id: <20191230082819.30191-2-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 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Cc: linux-rockchip@lists.infradead.org, u-boot@lists.denx.de, "Matwey V . Kornilov" <matwey.kornilov@gmail.com>, linux-amarula@amarulasolutions.com, Akash Gajjar <akash@openedev.com> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
rockchip: Add Binman support
|
expand
|
diff --git a/Makefile b/Makefile index e20a206239..9998d238f3 100644 --- a/Makefile +++ b/Makefile @@ -1374,7 +1374,15 @@ u-boot-with-spl.bin: $(SPL_IMAGE) $(SPL_PAYLOAD) FORCE $(call if_changed,pad_cat) ifeq ($(CONFIG_ARCH_ROCKCHIP),y) -MKIMAGEFLAGS_u-boot-tpl.img = -n $(CONFIG_SYS_SOC) -T rksd + +# rockchip image type +ifeq ($(CONFIG_SPI_FLASH_SUPPORT),y) +ROCKCHIP_IMG_TYPE := rkspi +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 $(call if_changed,mkimage) idbloader.img: tpl/u-boot-tpl.img spl/u-boot-spl.bin FORCE