From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0BD8C47092 for ; Mon, 31 May 2021 00:20:12 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BED0F61222 for ; Mon, 31 May 2021 00:20:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BED0F61222 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B9BF782D22; Mon, 31 May 2021 02:19:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="B8fIk3xD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 22C9E81664; Sun, 30 May 2021 12:45:30 +0200 (CEST) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 6718F80239 for ; Sun, 30 May 2021 12:45:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=liu.ming50@gmail.com Received: by mail-wm1-x32c.google.com with SMTP id o2-20020a05600c4fc2b029019a0a8f959dso1562117wmq.1 for ; Sun, 30 May 2021 03:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v8G6FRMOnZnaPpAUAdWG034nmQ5qzYfYh2FiaMtGTII=; b=B8fIk3xDygSlX8Lx2aboOzv+25h3yQ3n9Uz+fZuyKH1Q82Lqjz+mDxf+PiAU4pWM/6 Rt7h+1KDrKJmNF83Rpa69J6uzbolZKH5SwbZ+sMvFN0v90r8mjzddiN3He7GLBTWmaPl 1SkVisofz/ygCp6umttDo2xmUOK8x4q+5qbgbikAvAtuLtr9sNPG0mam4YlAjdlP1TO6 tdoOpLSL6A7apEiZX7wQMM0e4DFTsVxjRnEEbRdDVQX6y+5P25Yofqn/zoEptKe5GyUr Mnz96Wk6EyTJ7isR+Kdyxmd7SavvvZhGHtiWjh/o6iwwX49QYBsaO0kgivJrcnwcWuzd rqVg== 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=v8G6FRMOnZnaPpAUAdWG034nmQ5qzYfYh2FiaMtGTII=; b=OHaMjjZkXkhqjv09qrJARVzinWMsxbmFq1fNrtC+6Fh6SLFh7iCyUdA7qB34iTLRue D3sCQYKa+0KvGjWsJsvo72Vn0CVo0NToORYp2Oh8mdImIwLB+z/h7evsXJ0KyUdf7AXo LExkDne90lU57qGv/z7NT1dsg2s7CxpeeKScZAHTqADpopeJcSuDw9fIshK8LIK5X59g EtePIGgDRke3OF8A2b2LpdplV2HWCsOLvXLq6moQjDpUp1sOWMBas6BXweuZcN4Pe9Mz TvP3QHGlJGHsMpFByQ5fFwk36JqSyOsVbwZHUq1fXVN5XHhn+GDkp/M576XOd/mL8AwY rAVQ== X-Gm-Message-State: AOAM533VzuFqH9qVsA+8IoomRgA2HRHrhPnRTzrQCbpCm6HWL50ViYRg T5XT+I/tALfomvcMkR+U2MPuc+g9uAU= X-Google-Smtp-Source: ABdhPJywVL2SIwCvkmlq9F79WiFL7v+4kRYobLsohWlg6kRfMk296HIr6wrJv1j8dzVP4IHrPLaS6A== X-Received: by 2002:a1c:a401:: with SMTP id n1mr20425772wme.30.1622371526781; Sun, 30 May 2021 03:45:26 -0700 (PDT) Received: from localhost.localdomain (customer-212-100-112-191.stosn.net. [212.100.112.191]) by smtp.gmail.com with ESMTPSA id q3sm13305207wrr.43.2021.05.30.03.45.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 May 2021 03:45:26 -0700 (PDT) From: liu.ming50@gmail.com To: u-boot@lists.denx.de Cc: sergio.prado@toradex.com, max.krummenacher@toradex.com, marcel.ziswiler@toradex.com, Ming Liu Subject: [[PATCH] colibri_imx6: add board_fit_config_name_match to support FIT in SPL Date: Sun, 30 May 2021 12:45:15 +0200 Message-Id: <20210530104515.5850-1-liu.ming50@gmail.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 31 May 2021 02:19:54 +0200 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.4 at phobos.denx.de X-Virus-Status: Clean From: Ming Liu Only one dtb is currently supported, so match with imx6-colibri. Signed-off-by: Ming Liu --- board/toradex/colibri_imx6/colibri_imx6.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index c0e7754469..587d92a8e9 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -1081,6 +1081,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-colibri")) + return 0; + + return -1; +} +#endif + void reset_cpu(void) { } -- 2.29.0