diff options
author | Olaf Hering <olh@suse.de> | 2005-06-28 21:01:28 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-28 21:01:28 +1000 |
commit | a58dfbbb2a350808253a8b5037f5ec5b9a68516d (patch) | |
tree | f16e7952b0b7ff89a1b47a2c2f0f0b9ca476a18a /arch/ppc64/boot | |
parent | 45891f7660c02fdd7b044a04d71b965c795e9df5 (diff) | |
download | blackbird-obmc-linux-a58dfbbb2a350808253a8b5037f5ec5b9a68516d.tar.gz blackbird-obmc-linux-a58dfbbb2a350808253a8b5037f5ec5b9a68516d.zip |
[PATCH] remove unused arch/ppc64/boot/mknote.c
mknote is not called in arch/ppc64/boot/Makefile
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/boot')
-rw-r--r-- | arch/ppc64/boot/mknote.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/arch/ppc64/boot/mknote.c b/arch/ppc64/boot/mknote.c deleted file mode 100644 index 120cc1d89739..000000000000 --- a/arch/ppc64/boot/mknote.c +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) Cort Dougan 1999. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * - * Generate a note section as per the CHRP specification. - * - */ - -#include <stdio.h> - -#define PL(x) printf("%c%c%c%c", ((x)>>24)&0xff, ((x)>>16)&0xff, ((x)>>8)&0xff, (x)&0xff ); - -int main(void) -{ -/* header */ - /* namesz */ - PL(strlen("PowerPC")+1); - /* descrsz */ - PL(6*4); - /* type */ - PL(0x1275); - /* name */ - printf("PowerPC"); printf("%c", 0); - -/* descriptor */ - /* real-mode */ - PL(0xffffffff); - /* real-base */ - PL(0x00c00000); - /* real-size */ - PL(0xffffffff); - /* virt-base */ - PL(0xffffffff); - /* virt-size */ - PL(0xffffffff); - /* load-base */ - PL(0x4000); - return 0; -} |