public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] configs: visionfive2: re-enable SPL_SYS_MMCSD_RAW_MODE
@ 2024-10-30 13:46 Andreas Schwab
  2024-11-06 10:58 ` Leo Liang
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2024-10-30 13:46 UTC (permalink / raw)
  To: u-boot

To restore MMC boot, enable SPL_SYS_MMCSD_RAW_MODE and recover
SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION and
SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION.

Fixes: 2a00d73d081 ("spl: mmc: Try to clean up raw-mode options")
---
 configs/starfive_visionfive2_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig
index c3508926d6c..11e1332f875 100644
--- a/configs/starfive_visionfive2_defconfig
+++ b/configs/starfive_visionfive2_defconfig
@@ -55,6 +55,9 @@ CONFIG_SPL_PAD_TO=0x0
 CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
 CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
+CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
 CONFIG_SPL_SYS_MALLOC_SIZE=0x400000
 CONFIG_SPL_I2C=y
 CONFIG_SPL_DM_SPI_FLASH=y
-- 
2.47.0


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] configs: visionfive2: re-enable SPL_SYS_MMCSD_RAW_MODE
  2024-10-30 13:46 Andreas Schwab
@ 2024-11-06 10:58 ` Leo Liang
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Liang @ 2024-11-06 10:58 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: u-boot

On Wed, Oct 30, 2024 at 02:46:39PM +0100, Andreas Schwab wrote:
> To restore MMC boot, enable SPL_SYS_MMCSD_RAW_MODE and recover
> SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION and
> SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION.
> 
> Fixes: 2a00d73d081 ("spl: mmc: Try to clean up raw-mode options")
> ---
>  configs/starfive_visionfive2_defconfig | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] configs: visionfive2: re-enable SPL_SYS_MMCSD_RAW_MODE
@ 2024-11-12 16:27 Andreas Schwab
  2024-11-18  9:24 ` Leo Liang
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2024-11-12 16:27 UTC (permalink / raw)
  To: u-boot

To restore MMC boot, enable SPL_SYS_MMCSD_RAW_MODE and recover
SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION and
SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION.

Fixes: 2a00d73d081 ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Andreas Schwab <schwab@suse.de>
---
 configs/starfive_visionfive2_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig
index c3508926d6c..11e1332f875 100644
--- a/configs/starfive_visionfive2_defconfig
+++ b/configs/starfive_visionfive2_defconfig
@@ -55,6 +55,9 @@ CONFIG_SPL_PAD_TO=0x0
 CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
 CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
+CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
 CONFIG_SPL_SYS_MALLOC_SIZE=0x400000
 CONFIG_SPL_I2C=y
 CONFIG_SPL_DM_SPI_FLASH=y
-- 
2.47.0


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] configs: visionfive2: re-enable SPL_SYS_MMCSD_RAW_MODE
  2024-11-12 16:27 [PATCH] configs: visionfive2: re-enable SPL_SYS_MMCSD_RAW_MODE Andreas Schwab
@ 2024-11-18  9:24 ` Leo Liang
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Liang @ 2024-11-18  9:24 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: u-boot

On Tue, Nov 12, 2024 at 05:27:22PM +0100, Andreas Schwab wrote:
> To restore MMC boot, enable SPL_SYS_MMCSD_RAW_MODE and recover
> SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION and
> SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION.
> 
> Fixes: 2a00d73d081 ("spl: mmc: Try to clean up raw-mode options")
> Signed-off-by: Andreas Schwab <schwab@suse.de>
> ---
>  configs/starfive_visionfive2_defconfig | 3 +++
>  1 file changed, 3 insertions(+)

Applied to u-boot-riscv/master, thanks!

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-18  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12 16:27 [PATCH] configs: visionfive2: re-enable SPL_SYS_MMCSD_RAW_MODE Andreas Schwab
2024-11-18  9:24 ` Leo Liang
  -- strict thread matches above, loose matches on Subject: below --
2024-10-30 13:46 Andreas Schwab
2024-11-06 10:58 ` Leo Liang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox