Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E5B19C433F5 for ; Thu, 27 Jan 2022 21:56:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED5B08349B; Thu, 27 Jan 2022 22:56:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=manjaro.org 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=manjaro.org header.i=@manjaro.org header.b="XVrEaXbn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C77C983055; Thu, 27 Jan 2022 09:39:58 +0100 (CET) Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0EF5081B53 for ; Thu, 27 Jan 2022 09:39:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=manjaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=strit@manjaro.org From: Dan Johansen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1643272795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vdyk6/LlBo0lU7IyXjPXmb8PQZSSBiP133w3Jde/E6g=; b=XVrEaXbn/EjekMUMlmoSm8z9I5cHXsxdB8o1fS1Bfl24ifa7dFe73Q2rK8Hn5eqD6IzyyE y3L4dz+7O552QlYdELXHgF6yxaNzy4z2D0R9oZcccqp6BrQPYKItnSP1Rpn63CV1K52/qK eQ/Byi05mggpYMxM44rrGd5IeO1XA1CWL7kjP7B0iArU8a/kxsuHgLQw4pWoEKlyapl4eW 8sRQmfWavNNp55AeqjP2DMpLcvOgCFfQ/oARNt6+eXoT5abcCyX0IEQydCgntRSTJDRDwY XKvvBj14tdO59PrpIGEZLW+2/Teyjd2CPz584IOJwAJSUUPMhvSxkkMYMfxhSA== To: knaerzche@gmail.com, kever.yang@rock-chips.com Cc: u-boot@lists.denx.de, Dan Johansen Subject: [PATCH] include: configs: move USB first in the boot order for rk3399 Date: Thu, 27 Jan 2022 09:39:22 +0100 Message-Id: <20220127083922.623233-1-strit@manjaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=strit@manjaro.org smtp.mailfrom=strit@manjaro.org X-Mailman-Approved-At: Thu, 27 Jan 2022 22:56:13 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean In Manjaro ARM we have used this patch for years now and it was requested that we upstream it. This will make all rk3399 based boards try USB boot before SD or eMMC. Can be quite handy on some devices, where the other devices are not easy to get to. Signed-off-by: Dan Johansen --- include/configs/rockchip-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h index ba7061a287..5dc92373b2 100644 --- a/include/configs/rockchip-common.h +++ b/include/configs/rockchip-common.h @@ -55,9 +55,9 @@ #ifdef CONFIG_ROCKCHIP_RK3399 #define BOOT_TARGET_DEVICES(func) \ + BOOT_TARGET_USB(func) \ BOOT_TARGET_MMC(func) \ BOOT_TARGET_NVME(func) \ - BOOT_TARGET_USB(func) \ BOOT_TARGET_PXE(func) \ BOOT_TARGET_DHCP(func) \ BOOT_TARGET_SF(func) -- 2.34.1