From 01d3e629eb4ff68432c4fd107f034ec8de7203bf Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Thu, 3 Dec 2009 16:58:29 +0100 Subject: set bootdelay to zero if CONFIG_BOOTTIME If we want to measure the boot time, we do not want a boot delay. --- include/configs/u8500.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/configs/u8500.h') diff --git a/include/configs/u8500.h b/include/configs/u8500.h index 9a24bc242..e8507c457 100755 --- a/include/configs/u8500.h +++ b/include/configs/u8500.h @@ -32,6 +32,8 @@ #define CONFIG_U8500_ED 1 #define CONFIG_L2_OFF 1 +#define CONFIG_BOOTTIME /* enable boot time stamps */ + // XXX: nomadik left over? // #define PCI_IO_VADDR 0xee000000 @@ -101,7 +103,11 @@ #ifdef CONFIG_USB_TTY #define CONFIG_BOOTDELAY -1 /* disable autoboot */ #else +#ifndef CONFIG_BOOTTIME #define CONFIG_BOOTDELAY 5 +#define CONFIG_BOOTDELAY 0 +#else +#endif /* !CONFIG_BOOTTIME */ #endif /* CONFIG_USB_TTY */ #define CONFIG_BOOTARGS "cachepolicy=writealloc root=/dev/mmcblk0p2 noinitrd rootfstype=ext3 rootdelay=1 init=/linuxrc console=ttyAMA2,115200n8 board_id=1 mem=96M@0 mem=128M@128M" -- cgit v1.2.3