diff options
author | Michael Brandt <Michael.Brandt@stericsson.com> | 2009-12-03 16:58:29 +0100 |
---|---|---|
committer | Michael Brandt <Michael.Brandt@stericsson.com> | 2009-12-03 16:58:29 +0100 |
commit | 01d3e629eb4ff68432c4fd107f034ec8de7203bf (patch) | |
tree | c87bad7a0e8946ad3532c47d6349cec03145876c /include/configs/u8500.h | |
parent | 2a1c5318956aa7b3ecb94557abe5728abd7c6402 (diff) |
set bootdelay to zero if CONFIG_BOOTTIME
If we want to measure the boot time, we do not want a boot delay.
Diffstat (limited to 'include/configs/u8500.h')
-rwxr-xr-x | include/configs/u8500.h | 6 |
1 files changed, 6 insertions, 0 deletions
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" |