mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 08:35:38 +00:00
nvmxip: Avoid probing on boot
Devices should be probed when they are used, not before. Drop this boot-time probing. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
48fef88f94
commit
ec811ab654
1 changed files with 0 additions and 7 deletions
|
@ -53,14 +53,7 @@ int nvmxip_probe(struct udevice *udev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int nvmxip_post_bind(struct udevice *udev)
|
|
||||||
{
|
|
||||||
dev_or_flags(udev, DM_FLAG_PROBE_AFTER_BIND);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
UCLASS_DRIVER(nvmxip) = {
|
UCLASS_DRIVER(nvmxip) = {
|
||||||
.name = "nvmxip",
|
.name = "nvmxip",
|
||||||
.id = UCLASS_NVMXIP,
|
.id = UCLASS_NVMXIP,
|
||||||
.post_bind = nvmxip_post_bind,
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue