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 AE96CC54EBC for ; Sun, 8 Jan 2023 03:07:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 59DF985613; Sun, 8 Jan 2023 04:04:49 +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="d/oLT5yq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B10085683; Sun, 8 Jan 2023 04:04:29 +0100 (CET) Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (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 700618560D for ; Sun, 8 Jan 2023 03:51:44 +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-il1-x129.google.com with SMTP id u8so3321074ilg.0 for ; Sat, 07 Jan 2023 18:51:44 -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=8kutsT1Zbb5HGC/mS/xSV+pWKG3g7tKf7ya9eSxbQQM=; b=d/oLT5yqrphubnTwADuHvB8PXHeGiMNeQDMN1PwiwVHMuOE3Dft5iEJEI6XXnNQD3D QShG2wjdFy8Q7xFIfSUXR5NqOAXaeIr/NvSwLXTmDmlhG1KU5I/9FhZnZfoTJCG7+bJ1 z2iPwGI6iDpJZ9KQkzbjr4RhMPiF6asZHk/rM= 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=8kutsT1Zbb5HGC/mS/xSV+pWKG3g7tKf7ya9eSxbQQM=; b=IkeO4/NqeE5hI589a6D+izKK0crXWeiQ32m+JrFZ/6dzJn5kg1dSoNafILrdT1epg4 TX4JbO3ZDmo8ioTMF3A7uAE8wWRaVdCO4eZOSJ27Oyc9cVRW6dV72s/GvO6/DlSIIOkd DHg7DftcW2g/xh68yr4b1mqoqUV0A8muZ4xnjSUNlYp6FdNEFkoU6auL31X+0COIUHjx ACafW3GKg9oj7gN3nnQd0OXKcKE5W1itYQ+N2PcYfkQup74UYyTlZuQL0Gf4d5TVxaDY iyw4OscoCtjmPdb/EyhgYXMWXO78rGVA/6KBi/gBNVupM1kXZ19AaCBTlnyg5Y1nmfHf 0JAg== X-Gm-Message-State: AFqh2kqJ3ORMOUT0rnv6od+kofM+2EVKJj20WBzDvqYwvlJpteJ2jOJb B1Or12IY12h1VwlX5hDnV52K0D0LsA0odKq9 X-Google-Smtp-Source: AMrXdXuVFPFBKjSDa3zI1yCNMRayqHg7MGNwTJxQ9ySLhXqwOn60kKID/QPf/IEiH0xTO6Ofw7ZpKQ== X-Received: by 2002:a92:cbcd:0:b0:30b:e954:8365 with SMTP id s13-20020a92cbcd000000b0030be9548365mr36271526ilq.3.1673146303962; Sat, 07 Jan 2023 18:51:43 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-71-56-217-229.hsd1.co.comcast.net. [71.56.217.229]) by smtp.gmail.com with ESMTPSA id c17-20020a92bd11000000b00302a00aaefasm1622174ile.26.2023.01.07.18.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 18:51:43 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: U-Boot Custodians , Simon Glass , Jeffy Chen , Kever Yang , Philipp Tomsich , huang lin Subject: [PATCH v2 71/71] rockchip: Convert rockpro64-rk3399 to use standard boot Date: Sat, 7 Jan 2023 19:50:47 -0700 Message-Id: <20230108025047.522240-72-sjg@chromium.org> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog In-Reply-To: <20230108025047.522240-1-sjg@chromium.org> References: <20230108025047.522240-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 --- Changes in v2: - Rebase to -next 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 f0a9ab8f83c..daa8803bbf4 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -58,15 +58,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.314.g84b9a713c41-goog