From: Anton Blanchard Date: Sat, 10 Apr 2010 18:02:56 +0000 (+0000) Subject: Remove quik bootloader code X-Git-Tag: yaboot-1.3.17-rc1~24 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=66deae4bd650ffc2e6aaa54f7b40698daa8252a4;hp=4d84db875abc3fb337368263333c47bfd5c14d13 Remove quik bootloader code Has booting yaboot out of quik ever worked? The fact we do nothing with quik_fip makes me suspect it hasn't. Remove the code. Signed-off-by: Anton Blanchard Signed-off-by: Tony Breeds --- diff --git a/second/yaboot.c b/second/yaboot.c index f8e7d65..ec8a998 100644 --- a/second/yaboot.c +++ b/second/yaboot.c @@ -174,8 +174,6 @@ extern unsigned char linux_logo_blue[]; extern char* __bss_start; extern char* _end; -static struct first_info *quik_fip = NULL; - int yaboot_start (unsigned long r3, unsigned long r4, unsigned long r5) { @@ -187,15 +185,6 @@ yaboot_start (unsigned long r3, unsigned long r4, unsigned long r5) /* OF seems to do it, but I'm not very confident */ memset(&__bss_start, 0, &_end - &__bss_start); - /* Check for quik first stage bootloader (but I don't think we are - * compatible with it anyway, I'll look into backporting to older OF - * versions later - */ - if (r5 == 0xdeadbeef) { - r5 = r3; - quik_fip = (struct first_info *)r4; - } - /* Initialize OF interface */ prom_init ((prom_entry) r5);