From 66deae4bd650ffc2e6aaa54f7b40698daa8252a4 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sat, 10 Apr 2010 18:02:56 +0000 Subject: [PATCH] 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 --- second/yaboot.c | 11 ----------- 1 file changed, 11 deletions(-) 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); -- 2.39.2