aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/platform/68328/bootlogo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/platform/68328/bootlogo.pl')
-rw-r--r--arch/m68k/platform/68328/bootlogo.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/m68k/platform/68328/bootlogo.pl b/arch/m68k/platform/68328/bootlogo.pl
new file mode 100644
index 00000000000..b04ae3f50da
--- /dev/null
+++ b/arch/m68k/platform/68328/bootlogo.pl
@@ -0,0 +1,10 @@
+
+$_ = join("", <>);
+
+s/(0x[0-9a-f]{2})/sprintf("0x%.2x",ord(pack("b8",unpack("B8",chr(hex($1))))))/gei;
+
+s/^ / .byte /gm;
+s/[,};]+$//gm;
+s/^static.*//gm;
+
+print $_;