From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1hs05b-0004jz-D9 for ptxdist@pengutronix.de; Mon, 29 Jul 2019 09:28:59 +0200 Received: by mail-lj1-x241.google.com with SMTP id i21so57576844ljj.3 for ; Mon, 29 Jul 2019 00:28:59 -0700 (PDT) From: Lars Pedersen Date: Mon, 29 Jul 2019 09:28:53 +0200 Message-Id: <20190729072853.7265-1-lapeddk@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] u-boot: Add u-boot-dtb.imx install option List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Lars Pedersen Signed-off-by: Lars Pedersen --- platforms/u-boot.in | 8 ++++++++ rules/u-boot.make | 3 +++ 2 files changed, 11 insertions(+) diff --git a/platforms/u-boot.in b/platforms/u-boot.in index d474e64e3..9bac4a758 100644 --- a/platforms/u-boot.in +++ b/platforms/u-boot.in @@ -137,6 +137,14 @@ config U_BOOT_INSTALL_U_BOOT_IMX image directory. Say yes if you are building for freescale i.MX SOCs and are not using SPL. +config U_BOOT_INSTALL_U_BOOT_DTB_IMX + prompt "install u-boot-dtb.imx" + bool + help + Installing the U-Boot image with device tree support and imx header (u-boot-dtb.imx) + into platform image directory. Say yes if you are building for freescale i.MX SOCs + and are not using SPL. + config U_BOOT_INSTALL_U_BOOT_DTB prompt "install u-boot-dtb.bin" bool diff --git a/rules/u-boot.make b/rules/u-boot.make index de42b3396..abb9f842f 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -135,6 +135,9 @@ endif ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_IMX @install -v -D -m644 $(U_BOOT_DIR)/u-boot.imx $(IMAGEDIR)/u-boot.imx endif +ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_DTB_IMX + @install -v -D -m644 $(U_BOOT_DIR)/u-boot-dtb.imx $(IMAGEDIR)/u-boot-dtb.imx +endif ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_DTB @install -v -D -m644 $(U_BOOT_DIR)/u-boot-dtb.bin \ $(IMAGEDIR)/u-boot-dtb.bin -- 2.21.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de