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 8A6AEC352A1 for ; Wed, 7 Dec 2022 09:10:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78EE285771; Wed, 7 Dec 2022 09:58:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Q882reJN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 06F6A85740; Wed, 7 Dec 2022 09:58:01 +0100 (CET) Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) (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 8CF0185767 for ; Wed, 7 Dec 2022 09:57:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pf1-x42e.google.com with SMTP id d82so8204276pfd.11 for ; Wed, 07 Dec 2022 00:57:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yOBpT7tf0tFJV7TFcG+MzIHHxeK2tJJt30HXJCV6L2c=; b=Q882reJNDnlBBC+n+UlbL4rQtHjcC+cGx4h4Wh1wpcVPBNPbCfHLehGIyYForeXACC 6RemCTizZBN6WCDp91gefmtTevhCUGvU9HDF1eu5v2X7MZSJfWqGQTGl4jckqx+ALsHc uwytE1JQzEeT2ZyNZwCIfUJLxHTEgoqfd9aPo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yOBpT7tf0tFJV7TFcG+MzIHHxeK2tJJt30HXJCV6L2c=; b=GTeVx4qh6rdika4whM5ItlLvl9DlSohHjB1KzIncTf5icCe2l1J1DwMORt5O4mM9d8 fkDpsHb3EvjEMTZ8CoIyTT4tzr6qqRhVsnOhPX05zTFJCPuWCR50wNPdjZlRpYHMSxcm /0yephIlZgvKEj7vRMxBBWAIFbHxu1u7HqiN/9WpnbSr8mJpPXMyg+lAaQqTFJjz+05W pVW3neoCGXpTXDlzkhWlaDq2t1pknbiA9KNDuKjxaqueb7+CbQhA+jC9QnyxBkZeXR9O JWKheGY8EJ5ENOrD1d+yM+qLJiBq0zHshGJQxX12xNP4jrWdLNYx29ePu4eJwrL6D8iC cBqA== X-Gm-Message-State: ANoB5plzVV7X9u1/OTqRLM3XQsYmk6zz1SagTfxndXztHvb06hheIc9J PpXFVoa8aeFlJfcBCp0vGToiDe5pwY+UVj5h X-Google-Smtp-Source: AA0mqf7BAkakmgmlG/g+G3nVGWlOWWfrhYefHa39dKm2OVj+tuKMKzx4JjcwNEWvRyMc5S+/Z/aAYg== X-Received: by 2002:a05:6a00:298e:b0:576:d016:ace2 with SMTP id cj14-20020a056a00298e00b00576d016ace2mr15840712pfb.45.1670403476923; Wed, 07 Dec 2022 00:57:56 -0800 (PST) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id l16-20020a170903121000b0018157b415dbsm14145514plh.63.2022.12.07.00.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 00:57:56 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: U-Boot Custodians , Simon Glass , Jeffy Chen , Johan Jonker , Kever Yang , Peng Fan , Philipp Tomsich , Philipp Tomsich , Vagrant Cascadian , huang lin Subject: [PATCH 71/71] rockchip: Convert rockpro64-rk3399 to use standard boot Date: Wed, 7 Dec 2022 21:51:37 +1300 Message-Id: <20221207085137.445249-72-sjg@chromium.org> X-Mailer: git-send-email 2.39.0.rc0.267.gcb52ba06e7-goog In-Reply-To: <20221207085137.445249-1-sjg@chromium.org> References: <20221207085137.445249-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean Drop the use of scripts and rely on standard boot for all operation. Signed-off-by: Simon Glass --- include/configs/rk3399_common.h | 5 +---- include/configs/rockchip-common.h | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index 2f9aee58197..f2c231dd978 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -42,15 +42,12 @@ #define ROCKCHIP_DEVICE_SETTINGS #endif -#include -#include #define CONFIG_EXTRA_ENV_SETTINGS \ ENV_MEM_LAYOUT_SETTINGS \ "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ "partitions=" PARTS_DEFAULT \ ROCKCHIP_DEVICE_SETTINGS \ - BOOTENV \ - BOOTENV_SF \ + "boot_targets=" BOOT_TARGETS "\0" \ "altbootcmd=" \ "setenv boot_syslinux_conf extlinux/extlinux-rollback.conf;" \ "run distro_bootcmd\0" diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h index 4c964cc3770..5a06365c760 100644 --- a/include/configs/rockchip-common.h +++ b/include/configs/rockchip-common.h @@ -67,12 +67,14 @@ BOOT_TARGET_PXE(func) \ BOOT_TARGET_DHCP(func) \ BOOT_TARGET_SF(func) +#define BOOT_TARGETS "mmc1 mmc0 nvme scsi usb pxe dhcp spi" #else #define BOOT_TARGET_DEVICES(func) \ BOOT_TARGET_MMC(func) \ BOOT_TARGET_USB(func) \ BOOT_TARGET_PXE(func) \ BOOT_TARGET_DHCP(func) +#define BOOT_TARGETS "mmc1 mmc0 usb pxe dhcp" #endif #ifdef CONFIG_ARM64 -- 2.39.0.rc0.267.gcb52ba06e7-goog