From 3665f143d88f7bfd8c8097a01520b0f854cccbea Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 12 Jun 2008 16:19:51 +0100 Subject: [PATCH] Disable lack-of-boot-device check for CONFIG_DM case --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index 4ae31449f9..ea933dd74c 100644 --- a/vl.c +++ b/vl.c @@ -8511,10 +8511,12 @@ int main(int argc, char **argv) linux_boot = (kernel_filename != NULL); net_boot = (boot_devices_bitmap >> ('n' - 'a')) & 0xF; +#ifndef CONFIG_DM /* XXX: this should not be: some embedded targets just have flash */ if (!linux_boot && net_boot == 0 && nb_drives_opt == 0) help(1); +#endif /*!CONFIG_DM*/ /* boot to floppy or the default cd if no hard disk defined yet */ if (!boot_devices[0]) { -- 2.39.5