From 6e190bc68cf1517221d5d91c92afe6162e6ad222 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 18 Dec 2008 13:49:33 +0000 Subject: [PATCH] qi-gta02-rootdelay.patch There's not enough time between Glamo init (now after pcf50633 init) and the completion of machine init before we try to use the boot device in the case of GTA02 and SD boot. So we add rootdelay=1 to the SD card boot cases Signed-off-by: Andy Green --- qiboot/src/cpu/s3c2442/gta02.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qiboot/src/cpu/s3c2442/gta02.c b/qiboot/src/cpu/s3c2442/gta02.c index d9c6b8a..08674f6 100644 --- a/qiboot/src/cpu/s3c2442/gta02.c +++ b/qiboot/src/cpu/s3c2442/gta02.c @@ -482,7 +482,7 @@ const struct board_api board_api_gta02 = { .partition_index = 1, .filesystem = FS_EXT2, .filepath = "boot/uImage-GTA02.bin", - .commandline_append = " root=/dev/mmcblk0p1 ", + .commandline_append = " root=/dev/mmcblk0p1 rootdelay=1 ", }, [1] = { .name = "SD Card EXT2 P2 Kernel", @@ -491,7 +491,7 @@ const struct board_api board_api_gta02 = { .partition_index = 2, .filesystem = FS_EXT2, .filepath = "boot/uImage-GTA02.bin", - .commandline_append = " root=/dev/mmcblk0p2 ", + .commandline_append = " root=/dev/mmcblk0p2 rootdelay=1 ", }, [2] = { .name = "SD Card EXT2 P3 Kernel", @@ -500,7 +500,7 @@ const struct board_api board_api_gta02 = { .partition_index = 3, .filesystem = FS_EXT2, .filepath = "boot/uImage-GTA02.bin", - .commandline_append = " root=/dev/mmcblk0p3 ", + .commandline_append = " root=/dev/mmcblk0p3 rootdelay=1 ", }, [3] = { .name = "NAND Kernel",