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 5EFCFC433F5 for ; Tue, 3 May 2022 18:41:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0474B80600; Tue, 3 May 2022 20:41:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=FreeBSD.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; secure) header.d=freebsd.org header.i=@freebsd.org header.b="K17bEqbb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E508680179; Tue, 3 May 2022 20:41:22 +0200 (CEST) Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2610:1c1:1:606c::19:2]) (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 47A1C80179 for ; Tue, 3 May 2022 20:41:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=manu@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "R3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 36CC87EA1A; Tue, 3 May 2022 18:41:16 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kt81S0sM6z3mlt; Tue, 3 May 2022 18:41:16 +0000 (UTC) (envelope-from manu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651603276; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mGFBLdFqnSRGmc6/nI67q9yOhZL+VWHBVQp5aN+mhaE=; b=K17bEqbbvzrnUdIZryEXmrd/a90l4Vdmw/Cobs7QjPwjZ/daGXJMY9oAIqVfbfIzUjNmxk j/2iUP3fnkwjZZDTnPk7UQAnGm181H/2CcrdjXkpR1Srp9fVEzBYj1pxXBn2VmNwr3fTNb pKDOX3baPEWxMrI8Gu0W24XVD2dPQgj7dBZ7/n1ZYpGdEMEtJub15rdVieyBcC0iq2EVYS fZFwC/MTOd9QIuaGSiEhM4cjLyqZxETb8EhS2dxb6WXoO5gIc1MqcViQ6BTR20lv8TkTFY NuLYAsQG5m5v8e9cB+jdd7yaNZ2eyeWnvwh1Zc0m/XQ27PwB+mKgmmAaTdSrfg== Received: from skull.home.blih.net (lfbn-idf2-1-1209-45.w90-92.abo.wanadoo.fr [90.92.34.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id 894E029A37; Tue, 3 May 2022 18:41:15 +0000 (UTC) (envelope-from manu@FreeBSD.org) From: Emmanuel Vadot To: u-boot@lists.denx.de Cc: mail@david-bauer.net, Emmanuel Vadot Subject: [PATCH] rockchip: rk3328: nanopi-r2s: Use the sdcard for the env Date: Tue, 3 May 2022 20:41:04 +0200 Message-Id: <20220503184104.12108-1-manu@FreeBSD.org> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651603276; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mGFBLdFqnSRGmc6/nI67q9yOhZL+VWHBVQp5aN+mhaE=; b=M/RINNTjJy8+OmEVbh8bSjc1ZrI59XyeiJqNd0zO/CXuekQpm28pvkYhx8TZ6R48XRRNrY E+mw7idv+q/Z7782tkU2BzTKMNtvNHTglSeSQL2RvlG+WzYKKmdU1Z7VhuDdkG7LEsIgET acQ5kaFF/jzHyeA8DCbpStttsB/7XvYWY21gf6Ac6jBrrwpBFBT9UJvjjC12rW2mLPxPdV O9/RcuBVY2KlDPzasOFzddidu9OZOVoR7LsSldcI1xApIszOUhixCXI7kjICSWEXwCx89Z OoIw7KMLHV7t8n/hwWWltTZpNaO+4DpRX8Jx3M68dQl9Q6o1sjJuumv0stKvqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651603276; a=rsa-sha256; cv=none; b=D29uC6jXwS4E6pBdaF+fapXLYmnq/B5OMPDOr32XEwf4mNU4cODUm3aIa+g9AgbwrnFr06 Tam5fZpbnRN8isB6fjaj8jQhZ4VR0Q1gP/PJU1EQ5uCG2VyXf1bRnVJzKCJ5XUjyVf4fNT h0+kXktj9PusrPItcirpGeVPTYBenJ3yaRnT+YZ3Xq+c75kvf0fALIrVrAZ/1q7oOXHWce z0BTZT87LgL9x4QeSM55k84uS2hwN5EDNWmxUNeyG5Evr3mVNIr9yvA4eBOCEkz1yVHmod hbsfulpeVeTyLRXld1d92eJZXGPuIyUQ/lR7MF2O/SS02Cwzo/OKBjcoCwij7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 The NanoPi-R2S doesn't have eMMC so use the sdcard as the device to save the environment variables Signed-off-by: Emmanuel Vadot --- configs/nanopi-r2s-rk3328_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/nanopi-r2s-rk3328_defconfig b/configs/nanopi-r2s-rk3328_defconfig index 453e54295d..0665368c4d 100644 --- a/configs/nanopi-r2s-rk3328_defconfig +++ b/configs/nanopi-r2s-rk3328_defconfig @@ -44,6 +44,7 @@ CONFIG_TPL_OF_CONTROL=y CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" CONFIG_TPL_OF_PLATDATA=y CONFIG_ENV_IS_IN_MMC=y +CONFIG_SYS_MMC_ENV_DEV=1 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_TPL_DM=y -- 2.36.0