<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/block/host-uclass.c, branch u-boot-2023.07.y</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/block/host-uclass.c?h=u-boot-2023.07.y</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/block/host-uclass.c?h=u-boot-2023.07.y'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-11-07T23:24:30Z</updated>
<entry>
<title>dm: sandbox: Create a new HOST uclass</title>
<updated>2022-11-07T23:24:30Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-10-30T01:47:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9bd1aa8af2ed3efde28250987806aaeb12837c66'/>
<id>urn:sha1:9bd1aa8af2ed3efde28250987806aaeb12837c66</id>
<content type='text'>
Sandbox supports block devices which can access files on the host machine.
At present there is no uclass for this. The devices are attached to the
root devic. The block-device type is therefore set to UCLASS_ROOT which
is confusing.

Block devices should be attached to a 'media' device instead, something
which handles access to the actual media and provides the block driver
for the block device.

Create a new uclass to handle this. It supports two operations, to attach
and detach a file on the host machine.

For now this is not fully plumbed in.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
