]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: block: blk-uclass: add bounce buffer flag to blk_desc
authorJohan Jonker <jbx6244@gmail.com>
Wed, 18 Oct 2023 14:01:10 +0000 (16:01 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 24 Oct 2023 07:55:17 +0000 (15:55 +0800)
commit81bd22e935dc9e5f38863a674d50cb3a804f0804
tree566a7b2d380fec25fd56c3e5338420821782b195
parent80201eccaa3b2e5068f0d707682e73bcbee1f149
rockchip: block: blk-uclass: add bounce buffer flag to blk_desc

Currently bounce buffer support is enabled for all block devices
when available. Add a flag to blk_desc to enable only on demand.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/block/blk-uclass.c
drivers/scsi/scsi.c
include/blk.h