| #
874b2c13 |
| 06-Jan-2025 |
Shawn Lin <shawn.lin@rock-chips.com> |
dm: blk: add write zeroes support for advanced flash disk
It's used to make write large scale of zero data more fast if needed.
Change-Id: Iae0315f749e313d12104696110cb8ecf64fb6a4d Signed-off-by: S
dm: blk: add write zeroes support for advanced flash disk
It's used to make write large scale of zero data more fast if needed.
Change-Id: Iae0315f749e313d12104696110cb8ecf64fb6a4d Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
show more ...
|
| #
ad9dac3a |
| 10-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: Add 'blk' command
This common command can access any storage interface if it's a blk device.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5d49a1507c719cdf9cb8f72e1a71fce79d90
cmd: Add 'blk' command
This common command can access any storage interface if it's a blk device.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5d49a1507c719cdf9cb8f72e1a71fce79d90ffae
show more ...
|
| #
6ff3d590 |
| 19-Nov-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
UPSTREAM: cmd: blk: remove unreachable code
Remove an unreachable return statement.
Change-Id: I523a83571eade593a08b685519757c1df4ffab25 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Revi
UPSTREAM: cmd: blk: remove unreachable code
Remove an unreachable return statement.
Change-Id: I523a83571eade593a08b685519757c1df4ffab25 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 254eedee7f383066b70ac4da01bc792a3256a4b3)
show more ...
|
| #
ec5e502c |
| 13-Sep-2017 |
Bin Meng <bmeng.cn@gmail.com> |
UPSTREAM: cmd: blk: Use LBAFU in the common block command
There is already a macro LBAFU to aid formatted print with lbaint_t variables. Let's use it in the common block command codes.
Change-Id: I
UPSTREAM: cmd: blk: Use LBAFU in the common block command
There is already a macro LBAFU to aid formatted print with lbaint_t variables. Let's use it in the common block command codes.
Change-Id: I93256536d5af97877ecf9c4edc36d268b498dd1b Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit e2888a7fa7f8d23396c4b25ea763fe1f38851b3d)
show more ...
|
| #
1fdafb2e |
| 18-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
|
| #
4395f667 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: blk: Add a generic function for block device commands
Most block devices provide a command (e.g. 'sata', 'scsi', 'ide') and these commands generally do the same thing. This makes it harder to ma
dm: blk: Add a generic function for block device commands
Most block devices provide a command (e.g. 'sata', 'scsi', 'ide') and these commands generally do the same thing. This makes it harder to maintain this code and keep it consistent.
We now have a block device interface which is either implemented by driver model (when CONFIG_BLK is enabled) or with a legacy interface. Therefore it is possible to handle most of what these commands do with generic code.
Add a new generic function to process block-device commands using the interface type and the current device number for that type.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|