From: Trevor Woerner <twoerner@gmail.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Eugen Hristev <eugen.hristev@collabora.com>,
Jonas Karlman <jonas@kwiboo.se>, Tom Rini <trini@konsulko.com>,
Kever Yang <kever.yang@rock-chips.com>,
Weizhao Ouyang <o451686892@gmail.com>,
Jagan Teki <jagan@edgeble.ai>
Subject: [PATCH] configs: rockchip: rock5a: enable environment
Date: Mon, 4 Mar 2024 21:10:45 -0500 [thread overview]
Message-ID: <20240305021051.22405-3-twoerner@gmail.com> (raw)
In-Reply-To: <20240305021051.22405-1-twoerner@gmail.com>
Following the pattern of other Rockchip devices, enable the U-Boot
environment to be stored in MMC. This patch specifically assumes the
environment will be stored on the SDcard.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
configs/rock5a-rk3588s_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/rock5a-rk3588s_defconfig b/configs/rock5a-rk3588s_defconfig
index a6471a519514..ac6411667d9a 100644
--- a/configs/rock5a-rk3588s_defconfig
+++ b/configs/rock5a-rk3588s_defconfig
@@ -8,6 +8,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc00000
+CONFIG_ENV_SIZE=0x8000
CONFIG_DEFAULT_DEVICE_TREE="rk3588s-rock-5a"
CONFIG_ROCKCHIP_RK3588=y
CONFIG_SPL_ROCKCHIP_COMMON_BOARD=y
@@ -48,6 +49,8 @@ CONFIG_CMD_REGULATOR=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_OF_LIVE=y
CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
+CONFIG_ENV_IS_IN_MMC=y
+CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_SPL_REGMAP=y
CONFIG_SPL_SYSCON=y
--
2.43.0.76.g1a87c842ece3
next prev parent reply other threads:[~2024-03-05 2:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-05 2:10 [PATCH] configs: rockchip: rock-pi-s: enable environment Trevor Woerner
2024-03-05 2:10 ` [PATCH] configs: rockchip: rock3a: " Trevor Woerner
2024-03-05 9:29 ` Jonas Karlman
2024-03-05 2:10 ` Trevor Woerner [this message]
2024-03-05 5:40 ` [PATCH] configs: rockchip: rock5a: " Eugen Hristev
2024-03-05 9:17 ` Jonas Karlman
2024-03-05 13:45 ` Trevor Woerner
2024-03-05 17:01 ` Jonas Karlman
2024-03-06 9:53 ` Kever Yang
2024-03-05 2:10 ` [PATCH] configs: rockchip: rock5b: " Trevor Woerner
2024-03-05 9:31 ` Jonas Karlman
2024-03-05 9:36 ` Christopher Obbard
2024-03-05 10:09 ` Jonas Karlman
2024-03-05 10:11 ` Quentin Schulz
2024-03-05 14:32 ` Jonas Karlman
2024-03-05 13:39 ` Dragan Simic
2024-03-05 9:55 ` [PATCH] configs: rockchip: rock-pi-s: " Jonas Karlman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240305021051.22405-3-twoerner@gmail.com \
--to=twoerner@gmail.com \
--cc=eugen.hristev@collabora.com \
--cc=jagan@edgeble.ai \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.com \
--cc=o451686892@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox