History log of /rk3399_rockchip-uboot/cmd/mtd.c (Results 1 – 8 of 8)
Revision Date Author Comments
# 5901dcc7 22-May-2023 Jon Lin <jon.lin@rock-chips.com>

cmd: mtd: Avoid to rescan mtd device

When scanning for spinor devices on spinand board, there will be
corresponding redundant printing, as follows:
unrecognized JEDEC id bytes: ff, c8, 92

Change-I

cmd: mtd: Avoid to rescan mtd device

When scanning for spinor devices on spinand board, there will be
corresponding redundant printing, as follows:
unrecognized JEDEC id bytes: ff, c8, 92

Change-Id: I012002aa4452238c6be462b2e453dd02dece7897
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# c4d5fc63 06-Aug-2019 Jon Lin <jon.lin@rock-chips.com>

cmd: mtd: fix compiler error

Change-Id: Idc4bcd902c02b5dbd6f5aac631f3977f257f606f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# b99d850c 06-Aug-2019 Jon Lin <jon.lin@rock-chips.com>

Revert "cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands"

This reverts commit 9671243e8d10defb06f2ea24fac138c87697d7fc.

Change-Id: Ie34f9feb06aa0525c9fa59d79ecf687a9a572491
Signe

Revert "cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands"

This reverts commit 9671243e8d10defb06f2ea24fac138c87697d7fc.

Change-Id: Ie34f9feb06aa0525c9fa59d79ecf687a9a572491
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# b62a0f65 06-Aug-2019 Jon Lin <jon.lin@rock-chips.com>

Revert "cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n"

This reverts commit a645831ca0962532660e4db3155a8be85e5ca312.

Change-Id: Ida32a1a893b88503cffe432705d5d02921dfab09
Signed-off

Revert "cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n"

This reverts commit a645831ca0962532660e4db3155a8be85e5ca312.

Change-Id: Ida32a1a893b88503cffe432705d5d02921dfab09
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# fb504314 17-Jan-2019 Quentin Schulz <quentin.schulz@bootlin.com>

UPSTREAM: cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n

cmd/mtd.c:447:13: warning: ‘mtd_help_text’ defined but not used [-Wunused-variable]
static char mtd_help_text[] =

UPSTREAM: cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n

cmd/mtd.c:447:13: warning: ‘mtd_help_text’ defined but not used [-Wunused-variable]
static char mtd_help_text[] =
^~~~~~~~~~~~~

When SYS_LONGHELP is not defined. After looking at how other commands
work, we should surround the whole help text (even its declaration) with
an #ifdef CONFIG_SYS_LONGHELP, since it's compiled out when calling
_CMD_HELP[1] on the help text variable argument to U_BOOT_CMD.

[1] https://elixir.bootlin.com/u-boot/latest/source/include/command.h#L181

Change-Id: If84aae3167fd8826e33f717b7debefe32920dd0b
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit a645831ca0962532660e4db3155a8be85e5ca312)

show more ...


# b3d8fba6 03-Dec-2018 Boris Brezillon <boris.brezillon@bootlin.com>

cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands

It's way simpler this way, and we also gain auto-completion support for
free (MTD name auto-completion has been added with mtd_nam

cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands

It's way simpler this way, and we also gain auto-completion support for
free (MTD name auto-completion has been added with mtd_name_complete())

change-Id: I4292fde7affaddd8eb5a51fe8ec4265ae4984a21
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 9671243e8d10defb06f2ea24fac138c87697d7fc)

show more ...


# f87151b3 29-Sep-2018 Miquel Raynal <miquel.raynal@bootlin.com>

UPSTREAM: cmd: mtd: add 'mtd' command

There should not be a 'nand' command, a 'sf' command and certainly not
a new 'spi-nand' command. Write a 'mtd' command instead to manage all
MTD devices/partiti

UPSTREAM: cmd: mtd: add 'mtd' command

There should not be a 'nand' command, a 'sf' command and certainly not
a new 'spi-nand' command. Write a 'mtd' command instead to manage all
MTD devices/partitions at once. This should be the preferred way to
access any MTD device.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Change-Id: I68bcf4f0126c3a9d6ae0481dafcfcaab0506bd3f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 5db66b3aee6f2c057706d8715f7e5c472e82f047)

show more ...


# de8452ae 15-Mar-2019 Jason Zhu <jason.zhu@rock-chips.com>

cmd: mtd: support mtd command

Change-Id: I5d5548e97535c6d928d2ff84f055de259577c11a
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>