From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOG4o-0006kK-R4 for qemu-devel@nongnu.org; Mon, 23 Sep 2013 20:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOG4Z-0007Tu-1F for qemu-devel@nongnu.org; Mon, 23 Sep 2013 20:02:02 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:44069 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOG4Y-0007R4-Qi for qemu-devel@nongnu.org; Mon, 23 Sep 2013 20:01:46 -0400 From: Peter Maydell Date: Tue, 24 Sep 2013 01:01:35 +0100 Message-Id: <1379980897-21277-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/2] make -kernel optional for all ARM boards List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Grant Likely , =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org Make -kernel optional for all ARM boards, by allowing arm_load_kernel() to return without doing anything if no kernel filename was provided. In this case we will start execution at address zero (as the hardware does). This allows the user to provide a flash image or similar on some boards; in particular it's possible to run a UEFI image on the versatile express boards. The second patch tidies up a few boards which had already effectively provided this flexibility at the board level. Peter Maydell (2): hw/arm/boot: Make user not specifying a kernel not an error hw/arm: Tidy up conditional calls to arm_load_kernel hw/arm/boot.c | 6 ++++-- hw/arm/omap_sx1.c | 10 ++++------ hw/arm/palm.c | 10 ++++------ hw/arm/z2.c | 12 +++++------- 4 files changed, 17 insertions(+), 21 deletions(-) -- 1.7.11.4