diff mbox series

[BUGFIX] configs: synquacer: Fix dfu_alt_info to use nor1

Message ID 163650480690.719185.12377464551011667144.stgit@localhost
State Accepted
Commit 4d492b0c0f2238b22c5561437b1a519b3781f1fd
Headers show
Series [BUGFIX] configs: synquacer: Fix dfu_alt_info to use nor1 | expand

Commit Message

Masami Hiramatsu Nov. 10, 2021, 12:40 a.m. UTC
Fix dfu_alt_info to use nor1 instead of the device name.
This reverts a part of commit 59bd18d4c4d7 ("configs: synquacer:
Remove mtdparts settings and update DFU setting") because the
commit a4f2d8341455 ("mtd: spi: nor: force mtd name to "nor%d"")
changed the mtd device naming scheme to nor%d.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
---
 include/configs/synquacer.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ilias Apalodimas Nov. 10, 2021, 11:55 a.m. UTC | #1
On Wed, 10 Nov 2021 at 02:40, Masami Hiramatsu
<masami.hiramatsu@linaro.org> wrote:
>
> Fix dfu_alt_info to use nor1 instead of the device name.
> This reverts a part of commit 59bd18d4c4d7 ("configs: synquacer:
> Remove mtdparts settings and update DFU setting") because the
> commit a4f2d8341455 ("mtd: spi: nor: force mtd name to "nor%d"")
> changed the mtd device naming scheme to nor%d.
>
> Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
> ---
>  include/configs/synquacer.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/synquacer.h b/include/configs/synquacer.h
> index 4503cf3f6d..8fe10d7485 100644
> --- a/include/configs/synquacer.h
> +++ b/include/configs/synquacer.h
> @@ -62,7 +62,7 @@
>  /* #define CONFIG_SYS_PCI_64BIT                1 */
>
>  #define DEFAULT_DFU_ALT_INFO "dfu_alt_info="                           \
> -                       "mtd mx66u51235f=u-boot.bin raw 200000 100000;" \
> +                       "mtd nor1=u-boot.bin raw 200000 100000;"        \
>                         "fip.bin raw 180000 78000;"                     \
>                         "optee.bin raw 500000 100000\0"
>
>

Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tom Rini Nov. 16, 2021, 7:25 p.m. UTC | #2
On Wed, Nov 10, 2021 at 09:40:07AM +0900, Masami Hiramatsu wrote:

> Fix dfu_alt_info to use nor1 instead of the device name.
> This reverts a part of commit 59bd18d4c4d7 ("configs: synquacer:
> Remove mtdparts settings and update DFU setting") because the
> commit a4f2d8341455 ("mtd: spi: nor: force mtd name to "nor%d"")
> changed the mtd device naming scheme to nor%d.
> 
> Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/synquacer.h b/include/configs/synquacer.h
index 4503cf3f6d..8fe10d7485 100644
--- a/include/configs/synquacer.h
+++ b/include/configs/synquacer.h
@@ -62,7 +62,7 @@ 
 /* #define CONFIG_SYS_PCI_64BIT		1 */
 
 #define DEFAULT_DFU_ALT_INFO "dfu_alt_info="				\
-			"mtd mx66u51235f=u-boot.bin raw 200000 100000;"	\
+			"mtd nor1=u-boot.bin raw 200000 100000;"	\
 			"fip.bin raw 180000 78000;"			\
 			"optee.bin raw 500000 100000\0"