From: Simon Glass Date: Sun, 1 Sep 2024 22:26:13 +0000 (-0600) Subject: nvmxip: Avoid probing on boot X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=ec811ab654c63a9c8dc355f496760e465bc6a618;p=u-boot.git 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 --- diff --git a/drivers/mtd/nvmxip/nvmxip-uclass.c b/drivers/mtd/nvmxip/nvmxip-uclass.c index 58e8c3fb74..d18bd0e3d6 100644 --- a/drivers/mtd/nvmxip/nvmxip-uclass.c +++ b/drivers/mtd/nvmxip/nvmxip-uclass.c @@ -53,14 +53,7 @@ int nvmxip_probe(struct udevice *udev) return 0; } -static int nvmxip_post_bind(struct udevice *udev) -{ - dev_or_flags(udev, DM_FLAG_PROBE_AFTER_BIND); - return 0; -} - UCLASS_DRIVER(nvmxip) = { .name = "nvmxip", .id = UCLASS_NVMXIP, - .post_bind = nvmxip_post_bind, };