Skip to content

dm: Add driver-model support for block drivers

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20160215223718.GK23166@bill-the-cat

Versions newest first

  1. v1 Latest2 of 30 patches 0 repliesNew

2 of 30 patches are in this archive. The cover letter announces 30.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
13/30dm: sandbox: Enable all partition types+0 -00 replies
14/30dm: part: Convert partition API use to linker lists+0 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTom Rini
13/30R-b
14/30R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/30] dm: Add driver-model support for block drivers
Quoted 12 lines · Simon Glass

Recent additions of the MMC and DISK uclasses have indicated that it is time to look at adding a uclass for block devices. This series does this and includes a few clean-ups to the partition code also.

A block device is typically a child device of its storage parent. For example an MMC device will have a block-device child. A USB storage device may have multiple block-device children, one for each LUN.

With this series only USB storage and 'host' are converted over to use the new support. Several more remain, including SCSI, IDE and MMC. Each of these should get its own uclass.

Quoted 6 lines

The uclass implements only a few basic features. A few tests are added to check that things work as expected.

The code size impact of switching to driver model for block devices is small. One benefit is that it becomes possible to enumerate all block devices, regardless of their type.

Things generally make sense. I've tossed out a few Reviewed-by's for some things but I looked over everything. My only question is have you run buildman -S and compared the numbers, especially for things that aren't opting in yet? A few oddballs have been spotted by that already :)

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160215/7891356a/attachment.sig>