From patchwork Mon Sep 2 21:23:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Salveti X-Patchwork-Id: 1156737 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=foundries-io.20150623.gappssmtp.com header.i=@foundries-io.20150623.gappssmtp.com header.b="ycWamcMf"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46MlJg33rQz9s4Y for ; Tue, 3 Sep 2019 08:34:59 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 0E619C21DF3; Mon, 2 Sep 2019 22:33:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 019E9C21DE8; Mon, 2 Sep 2019 22:33:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CD7F0C21D56; Mon, 2 Sep 2019 21:23:33 +0000 (UTC) Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by lists.denx.de (Postfix) with ESMTPS id 3CB7AC21BE5 for ; Mon, 2 Sep 2019 21:23:33 +0000 (UTC) Received: by mail-qt1-f195.google.com with SMTP id b2so13537248qtq.5 for ; Mon, 02 Sep 2019 14:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XO5qCm1qY04oCz63tIZN3R+CEJBl/Yhg2s2xxnVVYjY=; b=ycWamcMfWtWq+/RzE/qpKLPxTaiWgUZz0GwAlRjqEi6yRiX6QtP8ryFzFA6mqlsL4n d31Dl8M3hP5U8UPOYqmwpjI31GUPS/6QX2RlkHZuXkCicHdE2/VoEoTZ3O0F7R/Pxuqh kJ6BNwvn/faEDyT2q5tuG7hgXQHO6WglgbbVXsJBM2mu2wPsBvHSnrVGqLNY6UCgcaID xG8PJJrYkZ5tfSX4aAS3VPDcu/ymaJViaZwAoaLpZ9gy+dWbcUqCFF8MrOMbPm/EIFO/ kvLMJdGFNk9NbW6afCP5O4xZj9akVf/HAZCSxI9aqJZySdumAl8bKmhhb1lUeKJx01cr Evxw== 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:mime-version :content-transfer-encoding; bh=XO5qCm1qY04oCz63tIZN3R+CEJBl/Yhg2s2xxnVVYjY=; b=ulNH2SNrCwLCerDxpnH6+/D1QGAkBIALlw28CRXCgh23+Z1+VCQtsEOGMT0HZFbK3q ycdDtiRwA3Ycyvq7sJY/WIrAYjI6pBYq2HK1CuNhu6nMV//UYw0w/WjFuiWjawANCZXn usaIDRFkOwtKugTYEPAtfAUvHMrpM8rCOxM4It0+HWDgvT+zd8igNFulA7cVMNPP55Hd 5wxMMHSxZqzUp1mOhnnEx9lWluERMFPW1OprWNKJY9Y7jXfjBQtJf70ikGgxbSS07Wbh S1YZ50rISGQdixnQWL/bNwsp1Rau1wYPLJjEpnHlKtutvjlryqjAbQFEKnxwa7j6gKAh ulpg== X-Gm-Message-State: APjAAAUAzmTTrauiPWOWmh6kEKwTDSb18eUkYp1lBEd6I+R3RnEFgT28 zCKwlzCBaUr6IqwGLosvfczjFoxPUw== X-Google-Smtp-Source: APXvYqym9X6Hoj/WmO68ZyaD3H3G774aa8pyE3ZzFRKJZr6fQLmagUJ8TP5LD2B864KCdE/XNx3wxA== X-Received: by 2002:aed:27c1:: with SMTP id m1mr10576523qtg.197.1567459411995; Mon, 02 Sep 2019 14:23:31 -0700 (PDT) Received: from localhost.localdomain ([2804:14d:badc:8822:d03d:f48e:97da:9d51]) by smtp.gmail.com with ESMTPSA id y188sm7897874qkc.29.2019.09.02.14.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 14:23:31 -0700 (PDT) From: Ricardo Salveti To: u-boot@lists.denx.de Date: Mon, 2 Sep 2019 18:23:27 -0300 Message-Id: <20190902212327.8178-1-ricardo@foundries.io> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 02 Sep 2019 22:33:28 +0000 Cc: stefan.agner@toradex.com, max.krummenacher@toradex.com, uboot-imx@nxp.com Subject: [U-Boot] [PATCH] apalis_imx6: add board_fit_config_name_match to support FIT in SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Only one dtb is currently supported, so match with imx6-apalis. Signed-off-by: Ricardo Salveti Reviewed-by: Peng Fan Acked-by: Max Krummenacher --- board/toradex/apalis_imx6/apalis_imx6.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index fa7fcc8d46..ef668fcedc 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -1121,6 +1121,16 @@ void board_init_f(ulong dummy) board_init_r(NULL, 0); } +#ifdef CONFIG_SPL_LOAD_FIT +int board_fit_config_name_match(const char *name) +{ + if (!strcmp(name, "imx6-apalis")) + return 0; + + return -1; +} +#endif + void reset_cpu(ulong addr) { }