From patchwork Thu Apr 4 11:59:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1077192 X-Patchwork-Delegate: twarren@nvidia.com 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=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qpmVms+H"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44ZhSd1TJbz9sPd for ; Thu, 4 Apr 2019 23:04:17 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D50C0C21C38; Thu, 4 Apr 2019 12:04:05 +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=FREEMAIL_FROM, 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 119F1C21E26; Thu, 4 Apr 2019 12:00:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9443BC21E89; Thu, 4 Apr 2019 12:00:02 +0000 (UTC) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by lists.denx.de (Postfix) with ESMTPS id 7F703C21E34 for ; Thu, 4 Apr 2019 11:59:58 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id z6so7158723wmi.0 for ; Thu, 04 Apr 2019 04:59:58 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=aTP9o+VrfeJyMgz+/n+XrpA/YtWhzuJxsjzFB2LbsEM=; b=qpmVms+HbuskV4YNzx1eTQcppq4gnUzNEu1/TfIiQyHnEf1enEZJjt51+rxeLwECTV 3yAhayYuQi7xLZ2WCgLbHoPMV4k2IGmGgmkQgpybkjjqsp7hNtKCbCFmJrWO2wCrD0FN DzqHdTv8zhJWdUjDsj8yxOIMX2J01ymZCJ/XP9QXVeNXf8m9ycde5pWYIOGeZ7w5S/sr kePhUzx+CdUXXo/3rtV4uGi2UV8h+wUeHllL3Dc8McZoSfjAVa+4Mi8KEDxgFfnUU4DJ s+XodyGdBMPLkSiQfG00xpGh9fqDg5mKSHVOCTwyXO85jhrEgF9Ho7nsmTvETm+g6zRp qSZg== 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=aTP9o+VrfeJyMgz+/n+XrpA/YtWhzuJxsjzFB2LbsEM=; b=fK9VQeQN3PXPGfzJ5uflzmr01Ns8n8/N4j6mtep1gdTtDnAW5PblskG7Rmz2UQbvZH H2qLySw9iIVRVZVrs1QGg4MS9RCVQDBR/HxUyBw+ApqTffVIgin4lx3wOjOAenHJz/Ao pxKpb+b8n2fRuaYNeWn5xw3rEBtDYzzbKHcrrppdMzfBvEkwtiR5PFPjPLvjg4OvlBxV HZhBfcZAHiit4bvp8ltlsvb7qkrsSDm9+wkfm3NuRBIltypMm+n1TsNxSkNuDBxrH5Bl yyeuNaLS9zGprmQAYz0BmtReEnrVOCFeeNes1+CtdupISipGSllP+EZvB5zuZ5M240tJ +Hzw== X-Gm-Message-State: APjAAAVwrGgMEDb9E/fgUW2CWApZBLntZV9n/FvIXxrAsxQwFSSQxqSx o+MvCmnGcFqSzVBG1i2Tt+k= X-Google-Smtp-Source: APXvYqz6RNWmwQl/zLml3n3rOd+qhZ+L6RFHR81JdhWgIfAIjWqHiAaXL3ziMfgMGaKG63Y19tLkJw== X-Received: by 2002:a1c:e70b:: with SMTP id e11mr3657109wmh.17.1554379198073; Thu, 04 Apr 2019 04:59:58 -0700 (PDT) Received: from localhost (pD9E51B25.dip0.t-ipconnect.de. [217.229.27.37]) by smtp.gmail.com with ESMTPSA id c16sm17290998wme.31.2019.04.04.04.59.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Apr 2019 04:59:57 -0700 (PDT) From: Thierry Reding To: Tom Warren Date: Thu, 4 Apr 2019 13:59:31 +0200 Message-Id: <20190404115942.17947-9-thierry.reding@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190404115942.17947-1-thierry.reding@gmail.com> References: <20190404115942.17947-1-thierry.reding@gmail.com> MIME-Version: 1.0 Cc: u-boot@lists.denx.de, Stephen Warren , Jonathan Hunter Subject: [U-Boot] [PATCH v4 08/19] ARM: tegra: Allow boards to override boot target devices 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" From: Thierry Reding Boards may not support all the boot target devices in the default list for Tegra devices. Allow a board to override the list and default to the standard list only if the board hasn't specified one itself. Signed-off-by: Thierry Reding --- include/configs/tegra-common-post.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index e54428ba43e2..9685ee5059ab 100644 --- a/include/configs/tegra-common-post.h +++ b/include/configs/tegra-common-post.h @@ -21,12 +21,14 @@ #define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */ #ifndef CONFIG_SPL_BUILD +#ifndef BOOT_TARGET_DEVICES #define BOOT_TARGET_DEVICES(func) \ func(MMC, mmc, 1) \ func(MMC, mmc, 0) \ func(USB, usb, 0) \ func(PXE, pxe, na) \ func(DHCP, dhcp, na) +#endif #include #else #define BOOTENV