From patchwork Mon Oct 5 09:37:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1376718 X-Patchwork-Delegate: patrick.delaunay73@gmail.com Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=b+87SGmw; 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 4C4b9X1wj7z9sSn for ; Mon, 5 Oct 2020 20:37:26 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F0164808F1; Mon, 5 Oct 2020 11:37:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.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" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="b+87SGmw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6CBD1818F8; Mon, 5 Oct 2020 11:37:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) (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 5D1A380404 for ; Mon, 5 Oct 2020 11:37:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x643.google.com with SMTP id p15so10923287ejm.7 for ; Mon, 05 Oct 2020 02:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9JyHzca/InuuH74z0bV23CBFqm2oajyjWIZ4udVVJFg=; b=b+87SGmwO73WrinapDj0VOfqdVh9VEpuPTSqIFe9vhUyaOHssVP2xKGc7abPfc6GPP 5zSaZdWUxg4usbQmjMpYlXK3RsB6GB7ESA4Gae9Xk4XDzouPoMbs1aXs34b6gYhGnSl6 8trD3wOvjlihQZNbTiQk2a27BA2FcNTgmnX3Ygk6eDuKeJYnFhN1+R7+aM8zSArAQfna uJ1zkVnSgiwm04c4vm0yrw+IbGTUAbpG+o1k2U6+VbT9hrO2KIeUao1KJsoSYGPlwFZv 5CVb0pHC+xd/Lbgm0lK2OsAl21triDV1tbPzjFb23douw1kaUQoyZLi3vcn8nwSPSNzD 0+QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=9JyHzca/InuuH74z0bV23CBFqm2oajyjWIZ4udVVJFg=; b=t7lrttC7vMzdJ3k0yg3C4pbpsPwJV+kHdeQ6jlkvj6/ZepXNrf/CS5FqYIFoILDG9J LswmgXoXQZHi1oy2IVbKq/T9CWDU0e7fwM2CwndcbBUCOQDvGtKuQySzsGqc+6BQ+Riz TyP7btF+uFB0Os8a1zjoiOKPY3jq9yF4pcGhhhYss9tEYoyT9B6iKmj5ypVR4UnXnRxV Ok0zwI/dm9C1IpjILWvJqyc4KxcVbdSx2Z8/APegReFNi1TkD6GJu4fQcatiNoCJ+bfq vW5gRgq9SxGTlqIJBo0PEVNDcKBmxbd2hQQomjIKZuT4iCaPaU6DeiwIXnHTp9nHH7bE ITMA== X-Gm-Message-State: AOAM533Pvm7u1mcJqyhXG6wMa2p/b0jxIjS2ZnxFIprPPDjIrlKEY0G4 VEc1JosNn5mHrgHrU74kU0NZ7/2doyqn5g== X-Google-Smtp-Source: ABdhPJwZJiPiqhAysh7jK/MEmgngbg0NfV4eY6Q+8aYLJWXE4rKEwOb0iZv6fV3cp+ByInW5GFjTiA== X-Received: by 2002:a17:906:fd7:: with SMTP id c23mr2556395ejk.324.1601890622586; Mon, 05 Oct 2020 02:37:02 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id b25sm74724eds.66.2020.10.05.02.37.01 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Oct 2020 02:37:02 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Marek Vasut Subject: [PATCH v2] ARM: stm32: Use firmware property instead of loadables Date: Mon, 5 Oct 2020 11:37:00 +0200 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean There shouldn't be a need to use loadables propertyn because u-boot can be pointed by firmware property. This change should also speedup boot process because loadables property is list of strings which code is going through. On the other hand firmware can just point to one image. Signed-off-by: Michal Simek Reviewed-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- Changes in v2: - Also add dhcor - Fix subject typo Only done based on grepping the code. Please retest. --- board/dhelectronics/dh_stm32mp1/u-boot-dhcom.its | 8 ++++---- board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/board/dhelectronics/dh_stm32mp1/u-boot-dhcom.its b/board/dhelectronics/dh_stm32mp1/u-boot-dhcom.its index 905be57dffd7..dfe89bfad67e 100644 --- a/board/dhelectronics/dh_stm32mp1/u-boot-dhcom.its +++ b/board/dhelectronics/dh_stm32mp1/u-boot-dhcom.its @@ -39,28 +39,28 @@ config-1 { /* DT+SoM+board model */ description = "dh,stm32mp15xx-dhcom-pdk2_somrev0_boardrev0"; - loadables = "uboot"; + firmware = "uboot"; fdt = "fdt-1"; }; config-2 { /* DT+SoM+board model */ description = "dh,stm32mp15xx-dhcom-pdk2_somrev1_boardrev0"; - loadables = "uboot"; + firmware = "uboot"; fdt = "fdt-1"; }; config-3 { /* DT+SoM+board model */ description = "dh,stm32mp15xx-dhcom-drc02_somrev0_boardrev0"; - loadables = "uboot"; + firmware = "uboot"; fdt = "fdt-2"; }; config-4 { /* DT+SoM+board model */ description = "dh,stm32mp15xx-dhcom-drc02_somrev1_boardrev0"; - loadables = "uboot"; + firmware = "uboot"; fdt = "fdt-2"; }; diff --git a/board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its b/board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its index 7419684f5599..0ea10a14972e 100644 --- a/board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its +++ b/board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its @@ -31,7 +31,7 @@ config-1 { /* DT+SoM+board model */ description = "arrow,stm32mp15xx-avenger96_somrev0_boardrev1"; - loadables = "uboot"; + firmware = "uboot"; fdt = "fdt-1"; };