diff options
Diffstat (limited to 'boot/bootmeth_script.c')
-rw-r--r-- | boot/bootmeth_script.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/bootmeth_script.c b/boot/bootmeth_script.c index a14c750ff6..225eb18ee6 100644 --- a/boot/bootmeth_script.c +++ b/boot/bootmeth_script.c @@ -27,6 +27,8 @@ static int script_check(struct udevice *dev, struct bootflow_iter *iter) { /* This works on block devices, network devices and SPI Flash */ + if (iter->method_flags & BOOTFLOW_METHF_PXE_ONLY) + return log_msg_ret("pxe", -ENOTSUPP); return 0; } |